Skip to content

Commit

Permalink
[Bug][Connector-v2][ElasticsearchSource] Fix behavior when source empty.
Browse files Browse the repository at this point in the history
[Improve][Connector-v2][ElasticsearchSource] Support SourceConfig.SOURCE field empty.
  • Loading branch information
CosmosNi committed Mar 26, 2024
1 parent b113a88 commit f2d86c1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ private List<String> readSinkDataWithOutSchema() throws InterruptedException {
x.remove("_index");
x.remove("_type");
x.remove("_id");
// I don’t know if converting the test cases in this way complies with
// the CI specification
x.replace("c_timestamp", Long.valueOf(x.get("c_timestamp").toString()));
});
List<String> docs =
scrollResult.getDocs().stream()
Expand Down

0 comments on commit f2d86c1

Please sign in to comment.