Skip to content

Conversation

@bluestreak01
Copy link
Member

@bluestreak01 bluestreak01 commented Jan 23, 2026

Summary

Changes

New Functions Documented

  • rnd_symbol_zipf() - generates symbols with Zipf/Power Law distribution
    • List form: rnd_symbol_zipf('AAPL', 'MSFT', 'GOOGL', alpha)
    • Count form: rnd_symbol_zipf(1000, alpha) for high-cardinality testing
  • rnd_symbol_weighted() - generates symbols with explicit weights
    • rnd_symbol_weighted('AAPL', 50, 'MSFT', 30, 'GOOGL', 20)

Random Value Generator Improvements

  • Added Quick Start example showing typical time series data generation
  • Added prominent warning about re-evaluation behavior (values generated per evaluation, not per row)
  • Fixed typos, standardized formatting, improved argument documentation

Sequence Generator Restructure

  • Merged timestamp-generator.md into row-generator.md (now titled "Sequence generators")
  • Added "Choosing the right function" comparison table
  • Documented period string format ('1d', '1h', '30s', '500n', etc.)
  • Added inline comments explaining microsecond values
  • Unified generate_series documentation (all variants in one place)

Test plan

  • Preview the sequence generators page: /docs/query/functions/row-generator/
  • Preview the random value generator page: /docs/query/functions/random-value-generator/
  • Verify old timestamp-generator links redirect or 404 appropriately

🤖 Generated with Claude Code

…nerators

New functions documented:
- rnd_symbol_zipf(): Zipf/Power Law distribution for symbols
- rnd_symbol_weighted(): explicit weight-based symbol distribution

Random value generator improvements:
- Add Quick Start example with timestamp_sequence
- Add prominent warning about re-evaluation behavior
- Fix typos, standardize formatting, improve examples

Sequence generator restructure:
- Merge timestamp-generator.md into row-generator.md
- Add "Choosing the right function" comparison table
- Document period string format (n, U, s, m, h, d)
- Add inline comments explaining microsecond values

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Jan 23, 2026

🚀 Build success!

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

Commit SHA: 3b787c8

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bluestreak01 bluestreak01 merged commit 8c2e833 into main Jan 24, 2026
8 checks passed
@bluestreak01 bluestreak01 deleted the vi_rnd branch January 24, 2026 00:51
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