forked from delta-io/delta-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(delta-io#2597): allow pyarrow.dataset.Expression in filters kwarg
- Loading branch information
giacomo.rebecchi
committed
Jun 17, 2024
1 parent
df6e6fd
commit 88fd969
Showing
3 changed files
with
25 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from typing import Callable | ||
|
||
from pyarrow.dataset import Expression | ||
|
||
from deltalake.table import FilterType | ||
|
||
filters_to_expression: Callable[[FilterType], Expression] | ||
_filters_to_expression: Callable[[FilterType], Expression] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters