private static String genNewMetadataFileLocation(TableMetadata meta, long newVersion) {
    String codecName =
        meta.property(
            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));
  }
generate metadata file location with version

@param meta - iceberg table metadata
@param newVersion - version of table metadata
@return - file location
amoro-ams/src/main/java/org/apache/amoro/server/utils/InternalTableUtil.java