sundapeng commented on code in PR #8845:
URL: https://github.com/apache/paimon/pull/8845#discussion_r3645657572
##########
paimon-core/src/main/java/org/apache/paimon/table/format/FormatTableScan.java:
##########
@@ -227,6 +219,87 @@ public List<Split> splits() {
}
}
+ /** A partition selected for scanning: its spec, directory path, and
encoded row. */
+ private static final class PartitionToScan {
+ private final LinkedHashMap<String, String> spec;
+ private final Path path;
+ private final BinaryRow row;
+
+ private PartitionToScan(LinkedHashMap<String, String> spec, Path path,
BinaryRow row) {
+ this.spec = spec;
+ this.path = path;
+ this.row = row;
+ }
+ }
+
+ /** Lists partition files and builds splits; per-partition sort and
bin-packing are shared. */
+ private interface PartitionSplitPlanner {
Review Comment:
better to remove this interface
--
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]