We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What is the bug?
For recover statement, it won't start streaming job at background if the Flint index doesn't exist. Flint job hangs there in this case.
What is the expected behavior?
Flint job stops if no streaming job launched by the SQL statement submitted.
Possible solution is to check if there is streaming job before calling awaitTermination(): https://github.com/opensearch-project/opensearch-spark/blob/main/spark-sql-application/src/main/scala/org/apache/spark/sql/JobOperator.scala#L88
awaitTermination()
Do you have any additional context?
CREATE INDEX IF NOT EXIST ... WITH (auto_refresh = true) may have same problem.
CREATE INDEX IF NOT EXIST ... WITH (auto_refresh = true)
The text was updated successfully, but these errors were encountered:
dai-chen
No branches or pull requests
What is the bug?
For recover statement, it won't start streaming job at background if the Flint index doesn't exist. Flint job hangs there in this case.
What is the expected behavior?
Flint job stops if no streaming job launched by the SQL statement submitted.
Possible solution is to check if there is streaming job before calling
awaitTermination()
: https://github.com/opensearch-project/opensearch-spark/blob/main/spark-sql-application/src/main/scala/org/apache/spark/sql/JobOperator.scala#L88Do you have any additional context?
CREATE INDEX IF NOT EXIST ... WITH (auto_refresh = true)
may have same problem.The text was updated successfully, but these errors were encountered: