Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions fe/src/main/java/org/apache/doris/load/Load.java
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ public boolean addLoadJob(TMiniLoadRequest request) throws DdlException {

String columnSeparatorStr = params.get(LoadStmt.KEY_IN_PARAM_COLUMN_SEPARATOR);
if (columnSeparatorStr != null) {
if (columnSeparatorStr.isEmpty()) {
columnSeparatorStr = "\t";
}
columnSeparator = new ColumnSeparator(columnSeparatorStr);
try {
columnSeparator.analyze();
Expand Down
5 changes: 3 additions & 2 deletions fe/src/main/java/org/apache/doris/load/LoadChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,9 @@ private void runOneLoadingJob(LoadJob job) {
LOG.debug("job {} is already committed, just wait it to be visiable, transaction state {}", job, state);
return;
} else if (state.getTransactionStatus() == TransactionStatus.VISIBLE) {
// if job is committed and then fe restart, the progress is not persisted, so that set it here
load.updateLoadJobState(job, JobState.FINISHED);
if (load.updateLoadJobState(job, JobState.FINISHED)) {
load.clearJob(job, JobState.QUORUM_FINISHED);
}
return;
}

Expand Down