opensearch-project / opensearch-spark

Spark Accelerator framework ; It enables secondary indices to remote data stores.
Apache License 2.0
12 stars 18 forks source link

[FEATURE] REPL should cancel in-progress query gracefully #394

Open noCharger opened 4 days ago

noCharger commented 4 days ago

Is your feature request related to a problem?

Once a query has been selected by REPL for processing and initiated, it is not possible to stop the query from running; instead, REPL will proceed with the blocking execution of the query. Here, the query loop is holding up the sequence queries.

What solution would you like?

Have the ability to properly update the query status and gracefully cancel an ongoing query.