{{ message }}
implement transport api for PPL inter-plugin communication#533
Merged
Conversation
5 tasks
joshuali925
reviewed
Apr 6, 2022
penghuo
reviewed
Apr 8, 2022
penghuo
reviewed
Apr 8, 2022
penghuo
left a comment
Collaborator
There was a problem hiding this comment.
seems missing files, SQLActions, TransportQueryResponse
Member
Author
65b5812 to
e6b6cee
Compare
joshuali925
previously approved these changes
May 10, 2022
penghuo
reviewed
May 12, 2022
penghuo
left a comment
Collaborator
There was a problem hiding this comment.
Two things.
- RestSQLAction should be refactored to call TransportSQLQueryAction.
- Is it possible to add UT?
penghuo
reviewed
May 12, 2022
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
5 tasks
Member
Author
Just reply to all other comments in one thread. Thanks a lot for the advice. @penghuo
|
penghuo
reviewed
May 24, 2022
penghuo
reviewed
May 24, 2022
penghuo
reviewed
May 24, 2022
penghuo
reviewed
May 24, 2022
penghuo
reviewed
May 24, 2022
penghuo
reviewed
May 24, 2022
Member
Author
|
Addressed all comments. Local build keeps failing during It doesn't related to my change. Any idea how can I resolve this? @penghuo @joshuali925 |
Member
Author
|
|
Collaborator
clean you local build folder will help. |
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Member
Author
penghuo
reviewed
Jun 2, 2022
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
bcac5c1 to
bed6ffd
Compare
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
joshuali925
approved these changes
Jul 5, 2022
2 tasks
penghuo
pushed a commit
to penghuo/os-sql
that referenced
this pull request
Aug 18, 2022
…h-project#533) Signed-off-by: Zhongnan Su <szhongna@amazon.com>
penghuo
added a commit
that referenced
this pull request
Aug 18, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Signed-off-by: Zhongnan Su szhongna@amazon.com
Update
After discussion in the thread here opensearch-project/common-utils#155, we decided for now we'll keep the transport interfaces in sql repo, instead of common-utils for the following reasons.
ResultSetorDataFramelike response for clients to access data. An issued is created w.r.t this.common-utilsDescription
Add a transport layer for handle PPL request. This will expose transport interface for inter-plugin communication. The existing Rest layer handler is also being refactored to make use of the transport layer
Create
TransportPPLQueryActionrefactored
RestPPLQueryActionto service as a route layer, moved the query request handling logic toTransportPPLQueryAction.Register action and handler in SQLPlugin
Refactored
PPLQueryRequestto be writable, for the transport layer commuicationCreate transport response model that currently holds a string response.
Add common-utils as dependency, since the request/response models will be exposed in common-utils for other plugin to consume as well.TODO:
Issues Resolved
#521
CI/CD
The CI is failing because of the pending PR in common-utilslocal build failed because of jarhell caused by ml-commons. Raised another PR in their repo to fix. Fix jarhell of common-utils ml-commons#328Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.