Skip to content

ESQL: TSTEP #2#144711

Merged
sidosera merged 2 commits intoelastic:mainfrom
sidosera:feature/esql-bucket-offset
Mar 24, 2026
Merged

ESQL: TSTEP #2#144711
sidosera merged 2 commits intoelastic:mainfrom
sidosera:feature/esql-bucket-offset

Conversation

@sidosera
Copy link
Copy Markdown
Contributor

@sidosera sidosera commented Mar 22, 2026

Adds offset parameter to BUCKET for step-aligned (i.e. non-truncated) time grouping.

This is the foundation for TSTEP bucketing where buckets count backwards from the end of a time range rather than truncating to calendar boundaries.

Stack:

Depends on #143507

@sidosera sidosera mentioned this pull request Mar 22, 2026
@elasticsearchmachine elasticsearchmachine added v9.4.0 needs:triage Requires assignment of a team area label labels Mar 22, 2026
@sidosera sidosera mentioned this pull request Mar 22, 2026
@sidosera sidosera added >non-issue Team:StorageEngine :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL labels Mar 22, 2026
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Mar 22, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@sidosera sidosera changed the title ES|QL: Add offset support to BUCKET for step-aligned time grouping ESQL: TSTEP #2 Mar 22, 2026
@sidosera sidosera force-pushed the feature/esql-bucket-offset branch 5 times, most recently from b52ba26 to 48cd9db Compare March 24, 2026 15:10
Copy link
Copy Markdown
Contributor

@kkrik-es kkrik-es left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

Copy link
Copy Markdown
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @sidosera

@sidosera sidosera force-pushed the feature/esql-bucket-offset branch from a190f7f to 558b7c0 Compare March 24, 2026 19:05
@sidosera sidosera merged commit 73a9556 into elastic:main Mar 24, 2026
35 of 36 checks passed
@sidosera sidosera deleted the feature/esql-bucket-offset branch March 24, 2026 21:17
eranweiss-elastic pushed a commit to eranweiss-elastic/elasticsearch that referenced this pull request Mar 25, 2026
This was referenced Mar 25, 2026
seanzatzdev pushed a commit to seanzatzdev/elasticsearch that referenced this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL Team:StorageEngine v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants