[Fix](Export) fix variable name of code #32637

This commit is contained in:
Tiewei Fang
2024-03-23 09:15:39 +08:00
committed by yiguolei
parent 5077f7dd9d
commit 5c3fc818bb
3 changed files with 3 additions and 3 deletions

View File

@ -372,7 +372,7 @@ public class ExportStmt extends StatementBase {
}
this.dataConsistency = ExportJob.CONSISTENT_PARTITION;
} else {
this.dataConsistency = ExportJob.CONSISTENT_ALL;
this.dataConsistency = ExportJob.CONSISTENT_NONE;
}
}

View File

@ -109,7 +109,7 @@ public class ExportJob implements Writable {
private static final int MAXIMUM_TABLETS_OF_OUTFILE_IN_EXPORT = Config.maximum_tablets_of_outfile_in_export;
public static final String CONSISTENT_ALL = "all";
public static final String CONSISTENT_NONE = "none";
public static final String CONSISTENT_PARTITION = "partition";
@SerializedName("id")

View File

@ -320,7 +320,7 @@ public class ExportCommand extends Command implements ForwardWithSync {
}
exportJob.setDataConsistency(ExportJob.CONSISTENT_PARTITION);
} else {
exportJob.setDataConsistency(ExportJob.CONSISTENT_ALL);
exportJob.setDataConsistency(ExportJob.CONSISTENT_NONE);
}
// Must copy session variable, because session variable may be changed during export job running.