-
Notifications
You must be signed in to change notification settings - Fork 33
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
Move query from entry point to SparkConf #274
Conversation
Signed-off-by: Louis Chu <[email protected]>
flint-spark-integration/src/main/scala/org/apache/spark/sql/flint/config/FlintSparkConf.scala
Show resolved
Hide resolved
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.
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 |
spark-sql-application/src/main/scala/org/apache/spark/sql/FlintJob.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Louis Chu <[email protected]>
spark-sql-application/src/main/scala/org/apache/spark/sql/FlintREPL.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Louis Chu <[email protected]>
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.