-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][Connector-V2][ES] Support dsl filter #4130
Conversation
@@ -197,7 +197,10 @@ private List<String> readSinkData() throws InterruptedException { | |||
"c_bytes", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add e2e testcase(test job config)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed @hailin0
| password | string | no | - | | ||
| index | string | yes | - | | ||
| source | array | no | - | | ||
| query | map | no | {"match_all": {}} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| query | map | no | {"match_all": {}} | | |
| query | json | no | {"match_all": {}} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hailin0 right
@@ -126,7 +127,8 @@ public void testElasticsearch(TestContainer container) | |||
container.executeJob("/elasticsearch/elasticsearch_source_and_sink.conf"); | |||
Assertions.assertEquals(0, execResult.getExitCode()); | |||
List<String> sinData = readSinkData(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sinData -> sinkData
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hailin0 fixed
@@ -59,6 +60,11 @@ The fields of index. | |||
You can get the document id by specifying the field `_id`.If sink _id to other index,you need specify an alias for _id due to the Elasticsearch limit. | |||
If you don't config source, you must config `schema`. | |||
|
|||
### query [map] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### query [map] | |
### query [json] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hailin0 you are right
TBR @hailin0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: TaoZex <[email protected]>
* [Feature][Connector-V2][ES]Support DSL
Purpose of this pull request
Support DSL
More convenient data ingest, improve data real-time performance, reduce unnecessary io
Check list
New License Guide
release-note
.