[MINOR] optimize in constructor of inputbatch class (#4040)
Co-authored-by: 闫杜峰 <yandufeng@sinochem.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user