-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Core: Allow write.metadata.previous-versions-max to be 0 #16796
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
base: main
Are you sure you want to change the base?
Changes from all commits
98ea1dd
2f4aa71
9087ffa
eb43cab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,7 +80,7 @@ Iceberg tables support table properties to configure table behavior, like the de | |
| | write.wap.enabled | false | Enables write-audit-publish writes | | ||
| | write.summary.partition-limit | 0 | Includes partition-level summary stats in snapshot summaries if the changed partition count is less than this limit | | ||
| | write.metadata.delete-after-commit.enabled | false | Controls whether to delete the oldest **tracked** version metadata files after each table commit. See the [Remove old metadata files](maintenance.md#remove-old-metadata-files) section for additional details | | ||
| | write.metadata.previous-versions-max | 100 | The max number of previous version metadata files to track | | ||
| | write.metadata.previous-versions-max | 100 | The max number of previous version metadata files to track. A value of `0` keeps no previous metadata files (an empty `metadata-log`) | | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pointing out that I'm not including a spec change in this PR because I kind of think
from https://iceberg.apache.org/spec/#table-metadata is worded consistently with a value of 0? |
||
| | write.spark.fanout.enabled | false | Enables the fanout writer in Spark that does not require data to be clustered; uses more memory | | ||
| | write.object-storage.enabled | false | Enables the object storage location provider that adds a hash component to file paths | | ||
| | write.object-storage.partitioned-paths | true | Includes the partition values in the file path | | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
Pointing out that a negative value for this property now corresponds to an empty log - previously, it was a log of maximum size one. This is technically a break, but that felt fine to me?