Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,18 @@ private void generateOlapTableOutfile(List<String> qualifiedTableName) throws Us
List<List<Long>> tabletsListPerParallel = splitTablets();

// Each Outfile clause responsible for MAXIMUM_TABLETS_OF_OUTFILE_IN_EXPORT tablets
int index = 0;
for (List<Long> tabletsList : tabletsListPerParallel) {
// generate LogicalPlan
LogicalPlan plan = generateOneLogicalPlan(qualifiedTableName, tabletsList,
this.partitionNames, selectLists);
// generate LogicalPlanAdapter
StatementBase statementBase = generateLogicalPlanAdapter(plan);
selectStmtPerParallel.add(Optional.of(statementBase));
if (LOG.isDebugEnabled()) {
LOG.debug("Export Job [{}]: parallelism {} tablets: {}", id, index, tabletsList);
}
index++;
}
}

Expand Down