JingsongLi commented on code in PR #5745: URL: https://github.com/apache/paimon/pull/5745#discussion_r2148971460
########## paimon-core/src/main/java/org/apache/paimon/partition/PartitionUtils.java: ########## @@ -69,4 +73,15 @@ public static Pair<Pair<int[], RowType>, List<DataField>> constructPartitionMapp public static PartitionInfo create(@Nullable Pair<int[], RowType> pair, BinaryRow binaryRow) { return pair == null ? null : new PartitionInfo(pair.getLeft(), pair.getRight(), binaryRow); } + + public static String buildPartitionName(Map<String, String> partitionSpec) { + if (partitionSpec.isEmpty()) { + return EMPTY_PARTITION_NAME; Review Comment: just use "" -- 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...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org