Skip to content

Add demo tags and update examples in aggregation functions#439

Merged
javier merged 3 commits into
mainfrom
jv/aggregation_examples
May 12, 2026
Merged

Add demo tags and update examples in aggregation functions#439
javier merged 3 commits into
mainfrom
jv/aggregation_examples

Conversation

@javier
Copy link
Copy Markdown
Collaborator

@javier javier commented May 8, 2026

Summary

  • Replaces fictional table examples (transactions, sessions, sales, etc.) with runnable fx_trades / trades queries for: avg, count, count_distinct, max, min, sum, corr, covar_pop, covar_samp, approx_percentile, approx_count_distinct, arg_max, arg_min, weighted_avg, weighted_stddev, weighted_stddev_freq
  • Adds demo tags to long_sequence examples: ksum, nsum, stddev_samp, stddev_pop, string_agg, var_pop, var_samp
  • Migrates today() to TICK syntax '$today' across all demo queries (approx_median, mode, string_distinct_agg)
  • Adds result tables for arg_max, arg_min, corr, and approx_percentile to illustrate non-obvious return values
  • Updates stale result tables on approx_median, mode, string_distinct_agg, and twap with current demo data

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

🚀 Build success!

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

Commit SHA: 790d74e

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

@javier javier merged commit c721135 into main May 12, 2026
3 checks passed
@javier javier deleted the jv/aggregation_examples branch May 12, 2026 08: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.

1 participant