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

Fix aggregate pushdown when optional DataFile stats are null #10273

Merged

Conversation

jkolash
Copy link
Contributor

@jkolash jkolash commented May 5, 2024

This fixes #10258

@github-actions github-actions bot added the API label May 5, 2024
@amogh-jahagirdar amogh-jahagirdar self-requested a review May 7, 2024 15:33
@nastra nastra self-requested a review May 9, 2024 13:08
Copy link
Collaborator

@szehon-ho szehon-ho left a comment

Choose a reason for hiding this comment

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

Fix looks good, few comments.

Copy link
Collaborator

@szehon-ho szehon-ho left a comment

Choose a reason for hiding this comment

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

sorry for the delay. lgtm, would it be possible to remove the comment

@@ -95,6 +95,24 @@ public class TestAggregateEvaluator {
FILE, MISSING_SOME_NULLS_STATS_1, MISSING_SOME_NULLS_STATS_2
};

// This is not included in dataFiles as tests using it assume that
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry , I dont get the comment. Can we just remove it? Not sure it adds a lot of value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@szehon-ho
Copy link
Collaborator

Thanks, will merge once tests pass

@szehon-ho szehon-ho merged commit dd2197f into apache:main May 23, 2024
42 checks passed
@szehon-ho
Copy link
Collaborator

Thanks @jkolash !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

org.apache.iceberg.expressions.(Max/Min)Aggregate Don't handle null DataFile.(upper/lower)Bounds()
2 participants