danny0405 commented on code in PR #20866:
URL: https://github.com/apache/hudi/pull/20866#discussion_r4676013940
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/prune/PartitionPruners.java:
##########
@@ -57,7 +57,7 @@ public interface PartitionPruner extends Serializable,
AutoCloseable {
/**
* Applies partition pruning on the given partition list, return remained
partitions.
*/
- Set<String> filter(Collection<String> partitions);
+ Set<String> filter(Collection<String> partitions, boolean hivePartition);
Review Comment:
Can we rely on the reader DDL to describe the partition layout even when the
table path is still empty? In particular, if the reader omits the Hive-style
option, do we expect the writer to honor the same default, or do we support a
writer that later creates `partition=par1`? If the DDL is authoritative here,
we could keep using `Builder.hivePartition(...)` during planning and leave
`filter(partitions)` as it is.
--
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]