Skip to content

Improve array functions page with demo examples#427

Merged
javier merged 1 commit intomainfrom
jv/array_examples
May 5, 2026
Merged

Improve array functions page with demo examples#427
javier merged 1 commit intomainfrom
jv/array_examples

Conversation

@javier
Copy link
Copy Markdown
Collaborator

@javier javier commented May 5, 2026

Summary

  • Replace synthetic ARRAY literal examples with demoable queries against the market_data table for 17 functions, giving readers real-world context and a "Run on demo" button
  • Replace 4 CREATE TABLE/INSERT blocks (book, book_sizes, fills tables) with SAMPLE BY queries on live demo data for aggregate array_elem_* functions
  • Fix NaN references to NULL in array_build documentation
  • Fix alphabetical ordering (array_stddev sections now before array_sum)
  • Remove parenthetical dashes throughout
  • Remove references to the not-yet-available array_agg function
  • Clarify array_build's dual use of bids[1] as both size and filler

Replace synthetic ARRAY literal examples with queries against the demo
market_data table for most functions. Remove CREATE TABLE/INSERT blocks
for aggregate examples in favor of SAMPLE BY queries on live data.
Fix alphabetical ordering (stddev before sum), correct NaN references
to NULL, remove parenthetical dashes, and drop references to the
not-yet-available array_agg function.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

🚀 Build success!

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

Commit SHA: 316f0ee

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

@javier javier merged commit 0a4443a into main May 5, 2026
3 checks passed
@javier javier deleted the jv/array_examples branch May 5, 2026 17:16
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