forked from apache/iceberg
-
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.
Python: Handle optional Avro fields in conversion. (apache#5796)
Found by processing fields in manifestentry with empty split_offsets field. For pos_to_dict, check if values is None before processing as list, struct, or dict. Added unit tests to verify. Thanks to @Fokko for the fix.
- Loading branch information
1 parent
b8a796e
commit 53e056a
Showing
2 changed files
with
60 additions
and
6 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