-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Allow nulls in partition column (#2344)
Closes #2292 Currently Daft panics if there are nulls in a partition column, the detailed error message can be found in the linked issue. A simple reproduction: ``` from deltalake import write_deltalake import pandas as pd import daft df = pd.DataFrame( { "group": [1, 2, 3, None], "num": list(range(4)), } ) write_deltalake("z", df, partition_by="group", mode="overwrite") df = daft.read_deltalake("z") df.show() ``` This PR modifies the partition spec equality logic and partition pruning semantics to allow reading nulls in partition columns.
- Loading branch information
Showing
5 changed files
with
21 additions
and
10 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
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
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