Skip to content

Conversation

@bluestreak01
Copy link
Member

@bluestreak01 bluestreak01 commented Jan 16, 2026

Summary

Major restructure and expansion of the aggregation functions documentation page.

Changes

New function documentation

  • arg_min / arg_max - Complete documentation including parameters, return types, supported type combinations, null handling, and examples
  • bit_and / bit_or / bit_xor - Bitwise aggregate functions
  • bool_and / bool_or - Boolean aggregate functions
  • geomean - Geometric mean function

Page restructure

  • Function categories table - Groups 30+ aggregate functions into logical categories (Basic, Positional, Statistical, Approximate, String, Boolean, Bitwise, Specialized)
  • Implicit GROUP BY note - Brief explanation of QuestDB's implicit grouping behavior
  • "See also" sections - Cross-references between related functions (e.g., arg_max ↔ max ↔ last)

Bug fixes

  • Fixed typo: timestmaptimestamp
  • Fixed 6 incorrect table headers: stddev_sampstddev_pop, stddev_sampvar_samp, stddev_sampvar_pop, amountmax, countsum, avgcorr
  • Fixed SQL syntax errors: FROM table ridesFROM rides;, FROM tableFROM my_table
  • Fixed outdated comment: "sky cover types observed in the weather table" → "symbols observed in the trades table"
  • Removed outdated note claiming nested aggregates are not supported (they now work)
  • Cleaned up inconsistent blank lines throughout

Test plan

  • Verify page renders correctly in local preview
  • Check all internal anchor links work correctly
  • Verify function category table links navigate to correct sections

🤖 Generated with Claude Code

bluestreak01 and others added 2 commits January 16, 2026 04:59
- Add documentation for new arg_min() and arg_max() aggregate functions
- Add categorized function summary table at top of page
- Add usage notes section explaining implicit GROUP BY and NULL handling
- Add "See also" cross-references between related functions
- Fix typos and incorrect table headers throughout
- Clean up formatting inconsistencies

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 16, 2026

🚀 Build success!

Latest successful preview: https://preview-330--questdb-documentation.netlify.app/docs/

Commit SHA: 6607235

📦 Build generates a preview & updates link on each commit.

bluestreak01 and others added 3 commits January 16, 2026 20:54
Add documentation for new aggregate functions:
- geomean: geometric mean for compound returns and growth rates
- bool_and/bool_or: boolean aggregate functions
- bit_and/bit_or/bit_xor: bitwise aggregate functions

Co-Authored-By: Claude Opus 4.5 <[email protected]>
QuestDB now supports using aggregate functions as arguments to other
functions, so this warning is no longer accurate.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Remove verbose admonition blocks
- Convert implicit GROUP BY to concise paragraph
- Remove NULL handling note (standard SQL behavior)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bluestreak01 bluestreak01 merged commit 7ca3bc9 into main Jan 16, 2026
4 checks passed
@bluestreak01 bluestreak01 deleted the vi_agg_ovr branch January 16, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants