forked from apache/iceberg-python
-
Notifications
You must be signed in to change notification settings - Fork 0
try pyiceberg-core 0.8.0rc1
#31
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
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f161be9
Build: Bump mypy-boto3-glue from 1.40.75 to 1.42.3 (#2813)
dependabot[bot] e3353cc
Build: Bump mkdocstrings from 0.30.1 to 1.0.0 (#2812)
dependabot[bot] c4a3db3
Build: Bump deptry from 0.23.1 to 0.24.0 (#2807)
dependabot[bot] ccb3a29
feat: Add RESTscan Planning Endpoints and config (#2842)
geruh b43689a
Run `uv lock --upgrade` to upgrade pyparsing (#2850)
Fokko 6f8f57e
Build: Bump pyarrow from 21.0.0 to 22.0.0 (#2811)
dependabot[bot] 75ef45d
Core: Fix bin packing when target file size is smaller than a row (#2…
010Soham 7057911
Build: Bump mkdocs-material from 9.7.0 to 9.7.1 (#2858)
dependabot[bot] 01bd19c
Build: Bump google-auth from 2.44.0 to 2.45.0 (#2857)
dependabot[bot] 43f6fb5
Build: Bump prek from 0.2.22 to 0.2.23 (#2856)
dependabot[bot] f92a868
Build: Bump docutils from 0.22.3 to 0.22.4 (#2854)
dependabot[bot] 1754064
Build: Bump google-cloud-bigquery from 3.38.0 to 3.39.0 (#2852)
dependabot[bot] c941a22
try 0.8.0rc1
kevinjqliu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is a great improvement, as it correctly handles cases where
target_file_sizeis smaller thanavg_row_size_bytes, preventingtarget_rows_per_filefrom becoming zero.However, there's a related edge case to consider. If
avg_row_size_bytesis zero (which can happen iftbl.num_rowsis zero, causing aZeroDivisionErroron the preceding line, or iftbl.nbytesis zero), this line will raise aZeroDivisionError.While this PR doesn't introduce this issue, it would be more robust to handle this at the beginning of the
bin_pack_arrow_tablefunction, for example by checking iftbl.num_rows == 0and returning an empty iterator.