[Fix](Export) fix variable name of code #32637
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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")
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user