Skip to content

docs: add window function documentation (TUMBLE, HOPPING, SESSION) - #7

Merged
sujitn merged 1 commit into
laminardb:mainfrom
saikiran1208:docs/window-functions
Feb 15, 2026
Merged

sujitn merged 1 commit into
laminardb:mainfrom
saikiran1208:docs/window-functions

Conversation

@saikiran1208

Copy link
Copy Markdown
Contributor

Summary

  • Add a Windowed aggregations section to the README documenting TUMBLE, HOPPING, and SESSION window functions
  • Include syntax examples and a reference table with behavior descriptions

Context

All three window types work correctly in streaming SQL GROUP BY clauses but were not documented in the README. Discovered and verified through checkpoint stress testing against the Python SDK (v0.12.0):

  • TUMBLE(ts, 5000) — fixed 5-second non-overlapping windows
  • HOPPING(ts, 5000, 2500) — 5-second windows advancing every 2.5s
  • SESSION(ts, 10000) — dynamic windows closing after 10s inactivity gap

All three produce correct aggregation results on live streaming pipelines with checkpoint operations.

Test plan

  • Verify README renders correctly on GitHub
  • Verify the three SQL examples match the engine's accepted syntax

🤖 Generated with Claude Code

TUMBLE, HOPPING, and SESSION window functions work in streaming SQL
GROUP BY clauses but were not documented in the README. Add a
"Windowed aggregations" section with syntax examples and a reference
table.

Discovered and verified via checkpoint stress tests using the Python
SDK (v0.12.0) — all three window types produce correct aggregation
results with live streaming pipelines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sujitn
sujitn merged commit ff389f3 into laminardb:main Feb 15, 2026
5 checks passed
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