Skip to content

Commit

Permalink
Refine
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbutao committed May 29, 2024
1 parent 780c6f2 commit ef79413
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,11 @@ private List<InputSplit> planInputSplits(Table table, Configuration conf, Execut
long fromVersion = conf.getLong(InputFormatConfig.SNAPSHOT_ID_INTERVAL_FROM, -1);
Scan<?, FileScanTask, CombinedScanTask> scan;
if (fromVersion != -1) {
scan = applyConfig(conf, createIncrementalAppendScan(table, conf)).planWith(workerPool);
scan = applyConfig(conf, createIncrementalAppendScan(table, conf));
} else {
scan = applyConfig(conf, createTableScan(table, conf)).planWith(workerPool);
scan = applyConfig(conf, createTableScan(table, conf));
}
scan = (Scan<?, FileScanTask, CombinedScanTask>) scan.planWith(workerPool);

boolean allowDataFilesWithinTableLocationOnly =
conf.getBoolean(HiveConf.ConfVars.HIVE_ICEBERG_ALLOW_DATAFILES_IN_TABLE_LOCATION_ONLY.varname,
Expand Down

0 comments on commit ef79413

Please sign in to comment.