Closed devillove084 closed 3 months ago
package org.apache.paimon.manifest; import org.apache.paimon.types.RowType; import org.junit.jupiter.api.Test; import java.io.File; public class ManifestFileMetaJsonTest { @Test void testGenerateManifestFileMetaSchemaJson() { // static method RowType schema = ManifestFileMeta.schema(); String directoryPath = "/tmp/fixtures"; String fileName = "manifest_file_meta_schema.json"; File directory = new File(directoryPath); if (!directory.exists()) { directory.mkdirs(); } String filePath = directoryPath + "/" + fileName; JsonUtil.writeDataTypeToJson(schema, filePath); System.out.println("Generated JSON for ManifestFileMeta schema: " + filePath); } }
cc @Xuanwo
cc @Xuanwo