Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES|QL Add topn support for Floats #109870

Merged
merged 3 commits into from
Jun 19, 2024
Merged

Conversation

ChrisHegarty
Copy link
Contributor

@ChrisHegarty ChrisHegarty commented Jun 18, 2024

This commit adds topn support for Float to the compute engine.

@ChrisHegarty ChrisHegarty added >refactoring Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v8.15.0 labels Jun 18, 2024
@ChrisHegarty ChrisHegarty requested a review from a team as a code owner June 18, 2024 14:31
@ChrisHegarty
Copy link
Contributor Author

@elasticmachine update branch

@elasticsearchmachine
Copy link
Collaborator

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

@@ -505,7 +520,7 @@ public void testCollectAllValues() {
encoders.add(DEFAULT_SORTABLE);

for (ElementType e : ElementType.values()) {
if (e == ElementType.UNKNOWN || e == COMPOSITE || e == FLOAT) {
if (e == ElementType.UNKNOWN || e == COMPOSITE) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this exclusions for FLOAT when adding FloatBlocks, the exclusions can now be removed.

@ChrisHegarty
Copy link
Contributor Author

@elasticmachine update branch

Copy link
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.

@ChrisHegarty ChrisHegarty merged commit 7683bee into elastic:main Jun 19, 2024
15 checks passed
@ChrisHegarty ChrisHegarty deleted the esql_float_topn branch June 19, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >refactoring Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants