This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 622234dd2 [AMORO-3857] Make the metadata file name conform to the
Iceberg spec (#3858)
622234dd2 is described below
commit 622234dd271aa1bff94af28f29c64a303a894531
Author: yeatsliao <[email protected]>
AuthorDate: Sat Nov 1 01:19:14 2025 +0800
[AMORO-3857] Make the metadata file name conform to the Iceberg spec (#3858)
Each version of table metadata is stored in a metadata folder under the
table’s base location using a naming scheme that includes a version and UUID:
<V>-<random-uuid>.metadata.json.
---
.../src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/amoro-ams/src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java
b/amoro-ams/src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java
index 87306dd56..3d1dc8604 100644
---
a/amoro-ams/src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java
+++
b/amoro-ams/src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java
@@ -111,7 +111,7 @@ public class InternalTableUtil {
TableProperties.METADATA_COMPRESSION,
TableProperties.METADATA_COMPRESSION_DEFAULT);
String fileExtension = TableMetadataParser.getFileExtension(codecName);
return genMetadataFileLocation(
- meta, String.format("v%05d-%s%s", newVersion, UUID.randomUUID(),
fileExtension));
+ meta, String.format("%05d-%s%s", newVersion, UUID.randomUUID(),
fileExtension));
}
/**