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

Support In and notIn operators in ParquetFilters.ConvertFilterToParquet #12449

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sririshindra
Copy link
Contributor

ParquetFilters.ConvertFilterToParquet performs conversion from an Iceberg filter (Expression) to a Parquet FilterPredicate. It currently only handles IS_NULL, NOT_NULL, IS_NAN, NOT_NAN, EQ, NOT_EQ, GT, GT_EQ, LT, LT_EQ. It does not handle, e.g., IN and NOT_IN, which would be useful to have.

This conversion can be used for setting a record filter in Parquet and then using that to filter row groups when reading Parquet files.

Change-Id: I9ee0f2c952ffc18fc8cb11488fff57662e4fa95f
@sririshindra
Copy link
Contributor Author

I originally created #10341 . It did not get traction at the time and it was closed. I would appreciate if the committers can take another look at this as we think its a legitimate improvement. cc: @wypoon

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

Successfully merging this pull request may close these issues.

1 participant