Skip to content

Commit 7006443

Browse files
authored
Merge pull request JanKaul#204 from JanKaul/fix-assign-uuid
fix assign-uuid snake-case
2 parents c213e0d + d132c78 commit 7006443

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

iceberg-rust/src/catalog/commit.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub struct CommitView<T: Materialization> {
9393
)]
9494
pub enum TableUpdate {
9595
/// Assigning a UUID to a table/view should only be done when creating the table/view. It is not safe to re-assign the UUID if a table/view already has a UUID assigned
96-
AssignUUID {
96+
AssignUuid {
9797
/// new uuid
9898
uuid: String,
9999
},
@@ -261,7 +261,7 @@ pub enum TableRequirement {
261261
)]
262262
pub enum ViewUpdate<T: Materialization> {
263263
/// Assigning a UUID to a table/view should only be done when creating the table/view. It is not safe to re-assign the UUID if a table/view already has a UUID assigned
264-
AssignUUID {
264+
AssignUuid {
265265
/// new uuid
266266
uuid: String,
267267
},
@@ -422,7 +422,7 @@ pub fn apply_table_updates(
422422
TableUpdate::UpgradeFormatVersion { format_version: _ } => {
423423
unimplemented!();
424424
}
425-
TableUpdate::AssignUUID { uuid } => {
425+
TableUpdate::AssignUuid { uuid } => {
426426
metadata.table_uuid = Uuid::parse_str(&uuid)?;
427427
}
428428
TableUpdate::AddSchema {
@@ -519,7 +519,7 @@ pub fn apply_view_updates<T: Materialization + 'static>(
519519
ViewUpdate::UpgradeFormatVersion { format_version: _ } => {
520520
unimplemented!();
521521
}
522-
ViewUpdate::AssignUUID { uuid } => {
522+
ViewUpdate::AssignUuid { uuid } => {
523523
metadata.view_uuid = Uuid::parse_str(&uuid)?;
524524
}
525525
ViewUpdate::AddSchema {

0 commit comments

Comments
 (0)