Skip to content

Conversation

romulets
Copy link
Member

@romulets romulets commented Aug 27, 2025

Following up on #132603 enable keyword and text to be used in FIRST and LAST.

Relates to

@romulets romulets requested a review from nik9000 August 27, 2025 12:17
@elasticsearchmachine elasticsearchmachine added v9.2.0 needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team labels Aug 27, 2025
@romulets romulets added >feature Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL and removed needs:triage Requires assignment of a team area label labels Aug 27, 2025
@romulets romulets changed the title Add keyword first and last by timestamp DRAFT: Add keyword first and last by timestamp Aug 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@romulets romulets changed the title DRAFT: Add keyword first and last by timestamp Update FIRST and LAST to accept keyword Aug 27, 2025
@romulets romulets marked this pull request as draft August 27, 2025 12:20
@romulets romulets force-pushed the first-last-keyword branch from b3621e8 to 4e61eab Compare August 27, 2025 12:28
@romulets romulets force-pushed the first-last-keyword branch from a96304c to 84ee794 Compare August 28, 2025 07:48
@romulets romulets requested a review from nik9000 August 28, 2025 07:49
@romulets romulets changed the title Update FIRST and LAST to accept keyword Update FIRST and LAST to accept keyword and text Aug 28, 2025
@romulets romulets force-pushed the first-last-keyword branch from 7404778 to a4e9fcb Compare August 28, 2025 15:23
@romulets romulets marked this pull request as ready for review August 28, 2025 15:33
@romulets romulets requested a review from nik9000 August 28, 2025 15:33
@romulets romulets force-pushed the first-last-keyword branch from 81b4017 to 2aac264 Compare August 28, 2025 19:21
@romulets romulets force-pushed the first-last-keyword branch from f9960f2 to 5ff4fe5 Compare August 28, 2025 20:03
@romulets romulets force-pushed the first-last-keyword branch from 35c0fbb to 1a671e5 Compare August 29, 2025 04:19
@romulets romulets enabled auto-merge (squash) August 29, 2025 06:48
@romulets romulets merged commit 4ed9bc4 into elastic:main Aug 29, 2025
33 checks passed
JeremyDahlgren pushed a commit to JeremyDahlgren/elasticsearch that referenced this pull request Aug 29, 2025
* add first and last by timestamp

* receive breaker via driverContext

* rearrange attributes to touch less files

* create and release only one BreakingBytesRefBuilder per group

* [CI] Auto commit changes from spotless

* Use BreakingBytesRefBuilder in LongBytesRefState

* Add tests for text

* Add unit tests

* Add label to circuit breaker

* Format code

* Label strings functionality to not fail tests

* sort ip test to keep consistent

* sort last and first test to keep it consistent

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL external-contributor Pull request authored by a developer outside the Elasticsearch team >feature Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants