-
Notifications
You must be signed in to change notification settings - Fork 414
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
Allow pyarrow.dataset.Expression
in filters
kwarg of deltalake.DeltaTable.to_pyarrow_table
#2597
Labels
enhancement
New feature or request
Comments
giacomorebecchi
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 14, 2024
giacomorebecchi
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 14, 2024
giacomorebecchi
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 14, 2024
ion-elgreco
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 14, 2024
giacomorebecchi
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 16, 2024
ion-elgreco
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 16, 2024
giacomorebecchi
pushed a commit
to giacomorebecchi/delta-rs
that referenced
this issue
Jun 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I would like to have more flexibility in using the
filters
kwarg in the methodto_pyarrow_table
, in particular by providing directly apyarrow.dataset.Expression
.Use Case
In my use case, this is due to the fact that I want to be able to filter out null values, particularly by using a version of this issue:
pyarrow.parquet.filters_to_expression
apache/arrow#34504and, in order to be able to do this without using some exotic mocking, I would like to directly pass the Expression.
Related Issue(s)
Also, note that this PR might be an occasion to reduce code duplication by removing this function:
delta-rs/python/deltalake/table.py
Lines 333 to 350 in f041692
in favour of this:
https://github.com/apache/arrow/blob/69e8a78c018da88b60f9eb2b3b45703f81f3c93d/python/pyarrow/parquet/core.py#L135-L199
The text was updated successfully, but these errors were encountered: