[MINOR] Fix BatchBootstrapOperator initialization (#3520)
This commit is contained in:
@@ -42,11 +42,16 @@ import java.util.Set;
|
|||||||
public class BatchBootstrapOperator<I, O extends HoodieRecord>
|
public class BatchBootstrapOperator<I, O extends HoodieRecord>
|
||||||
extends BootstrapOperator<I, O> {
|
extends BootstrapOperator<I, O> {
|
||||||
|
|
||||||
private final Set<String> partitionPathSet;
|
private Set<String> partitionPathSet;
|
||||||
private final boolean haveSuccessfulCommits;
|
private boolean haveSuccessfulCommits;
|
||||||
|
|
||||||
public BatchBootstrapOperator(Configuration conf) {
|
public BatchBootstrapOperator(Configuration conf) {
|
||||||
super(conf);
|
super(conf);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void open() throws Exception {
|
||||||
|
super.open();
|
||||||
this.partitionPathSet = new HashSet<>();
|
this.partitionPathSet = new HashSet<>();
|
||||||
this.haveSuccessfulCommits = StreamerUtil.haveSuccessfulCommits(hoodieTable.getMetaClient());
|
this.haveSuccessfulCommits = StreamerUtil.haveSuccessfulCommits(hoodieTable.getMetaClient());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user