1
0

[MINOR] optimize in constructor of inputbatch class (#4040)

Co-authored-by: 闫杜峰 <yandufeng@sinochem.com>
This commit is contained in:
dufeng1010
2021-11-21 10:11:01 +08:00
committed by GitHub
parent 1a5484d2db
commit 305d160081

View File

@@ -39,9 +39,7 @@ public class InputBatch<T> {
}
public InputBatch(Option<T> batch, String checkpointForNextBatch) {
this.batch = batch;
this.checkpointForNextBatch = checkpointForNextBatch;
this.schemaProvider = null;
this(batch, checkpointForNextBatch, null);
}
public Option<T> getBatch() {