hashmapybx commented on issue #11408: URL: https://github.com/apache/iceberg/issues/11408#issuecomment-2440059118
System.out.println("执行合并操作"); LOG.info("===============执行合并操作====================="); ParameterTool tool = ParameterTool.fromArgs(args); StreamExecutionEnvironment environment = StreamExecutionEnvironment.getExecutionEnvironment(); TableLoader tableLoader = TableLoader.fromHadoopTable(tool.get("hdfs-path-table")); Table table = tableLoader.loadTable(); RewriteDataFilesActionResult result = Actions.forTable(environment,table) .rewriteDataFiles() .maxParallelism(1) .targetSizeInBytes(128 * 1024 * 1024) .execute(); System.out.println("合并任务启动"); -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org