hackeryard commented on code in PR #20377:
URL: https://github.com/apache/flink/pull/20377#discussion_r1036756306
##########
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveSourceFileEnumerator.java:
##########
@@ -76,10 +98,68 @@ public static List<HiveSourceSplit> createInputSplits(
}
}
}
-
return hiveSplits;
}
+ private static boolean supportSetSplitMaxSize(List<HiveTablePartition>
partitions) {
+ // now, the configuration 'HiveConf.ConfVars.MAPREDMAXSPLITSIZE' we
set only
+ // works for orc format
+ for (HiveTablePartition partition : partitions) {
Review Comment:
@luoyuxia why this only works for orc format, instead of all hdfs file?
--
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]