You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2023/09/11 11:14:22 UTC
[iceberg] branch master updated: Nessie: Provide better commit message on table registation (#8385)
This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new f8093e04d4 Nessie: Provide better commit message on table registation (#8385)
f8093e04d4 is described below
commit f8093e04d45e03bcf84b3806c8ef9c35356d427e
Author: Harsh Maheshwari <57...@users.noreply.github.com>
AuthorDate: Mon Sep 11 16:44:15 2023 +0530
Nessie: Provide better commit message on table registation (#8385)
---
nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java b/nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java
index 930674f35f..76dd9d577f 100644
--- a/nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java
+++ b/nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java
@@ -513,6 +513,8 @@ public class NessieIcebergClient implements AutoCloseable {
"Iceberg %s against %s", metadata.currentSnapshot().operation(), tableName);
} else if (base != null && metadata.currentSchemaId() != base.currentSchemaId()) {
return String.format("Iceberg schema change against %s", tableName);
+ } else if (base == null) {
+ return String.format("Iceberg table created/registered with name %s", tableName);
}
return String.format("Iceberg commit against %s", tableName);
}