Skip to content
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

Move query from entry point to SparkConf #274

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

noCharger
Copy link
Collaborator

Description

Move the query parameter from the entry point's main() arguments to SparkConf for batch and streaming jobs. There is no effect on interactive jobs other than removing the dummy query from the arg, which always reads from the request index.

Breaking change - together with opensearch-project/sql#2519

Issues Resolved

opensearch-project/sql#2376

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.

Signed-off-by: Louis Chu <[email protected]>
@dai-chen dai-chen added enhancement New feature or request 0.3 labels Mar 11, 2024
@noCharger noCharger requested a review from dai-chen March 12, 2024 16:29
Copy link
Collaborator

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes!

QQ regarding the dependency between SQL plugin and Spark. Is the changes on plugin side already done?

@noCharger
Copy link
Collaborator Author

Thanks for the changes!

QQ regarding the dependency between SQL plugin and Spark. Is the changes on plugin side already done?

Yes, it's pending for review opensearch-project/sql#2519

@noCharger noCharger requested a review from penghuo March 13, 2024 03:25
Signed-off-by: Louis Chu <[email protected]>
@noCharger noCharger requested a review from penghuo March 13, 2024 18:33
@penghuo penghuo merged commit 9ffe857 into opensearch-project:main Mar 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.3 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants