Skip to content

Commit

Permalink
[Bug] [Connector] Empty readOptions in the Build() method of setDoris…
Browse files Browse the repository at this point in the history
…ReadOptions
  • Loading branch information
SunShine-1204 committed Aug 8, 2023
1 parent be1c5ce commit 7e2ae8b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public DorisSourceBuilder<OUT> setDeserializer(DorisDeserializationSchema<OUT> d
}

public DorisSource<OUT> build() {
if(readOptions == null){
readOptions = DorisReadOptions.builder().build();
}
return new DorisSource<>(options, readOptions, boundedness, deserializer);
}
}

0 comments on commit 7e2ae8b

Please sign in to comment.