JingsongLi commented on code in PR #5674:
URL: https://github.com/apache/paimon/pull/5674#discussion_r2141376295
##########
paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/procedure/CompactProcedureITCase.java:
##########
@@ -196,6 +198,41 @@ public void testHistoryPartitionCompact() throws Exception
{
}
}
+ @Test
+ public void testExternalCompact() throws Exception {
+ String uuid = String.valueOf(UUID.randomUUID());
+ sql(
+ "CREATE TABLE T ("
+ + " k INT,"
+ + " v INT,"
+ + " hh INT,"
+ + " dt STRING,"
+ + " PRIMARY KEY (k, dt, hh) NOT ENFORCED"
+ + ") PARTITIONED BY (dt, hh) WITH ("
+ + " 'write-only' = 'true',"
+ + " 'bucket' = '1',"
+ + " 'data-file.external-paths' =
'file:///tmp/external/"
Review Comment:
Do not use tmp dir, use `getTempDirPath`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]