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

"Query terminated" not appropriate #270

Closed
uwegeercken opened this issue Aug 31, 2017 · 1 comment
Closed

"Query terminated" not appropriate #270

uwegeercken opened this issue Aug 31, 2017 · 1 comment

Comments

@uwegeercken
Copy link

uwegeercken commented Aug 31, 2017

when running a query in ksql such as:

SELECT * FROM users

and then when you press Ctrl-C the message "Query terminated" appears. The wording is inappropriate because the query continues to run as documented and as can be seen using "show queries".

A better wording would be: "Query output interrupted" or maybe "Query output stopped".

@hjafarpour
Copy link
Contributor

@uwegeercken Actually the query is terminated. SELECT queries are transient queries where the results are just streamed to the console. When you use Ctrl+C to stop it, the corresponding Streams app will be closed and won't run anymore.
On the other hand persistent queries are CREATE STREAM AS SELECT and CREATE TABLE AS SELECT queries where the results are persisted in a stream or table with a kafka topic. These queries will keep running until you terminate them with TERMINATE statement.

@miguno miguno closed this as completed Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants