We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e46fe3 + 72ac3ab commit b57909eCopy full SHA for b57909e
iceberg-rust/src/catalog/commit.rs
@@ -115,7 +115,7 @@ pub enum TableUpdate {
115
schema_id: i32,
116
},
117
/// Add new partition spec
118
- AddPartitionSpec {
+ AddSpec {
119
/// New partition spec
120
spec: PartitionSpec,
121
@@ -437,7 +437,7 @@ pub fn apply_table_updates(
437
TableUpdate::SetCurrentSchema { schema_id } => {
438
metadata.current_schema_id = schema_id;
439
}
440
- TableUpdate::AddPartitionSpec { spec } => {
+ TableUpdate::AddSpec { spec } => {
441
metadata.partition_specs.insert(*spec.spec_id(), spec);
442
443
TableUpdate::SetDefaultSpec { spec_id } => {
0 commit comments