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

hoptimator-cli hangs/times-out for unbounded queries #15

Open
ryannedolan opened this issue May 23, 2023 · 0 comments
Open

hoptimator-cli hangs/times-out for unbounded queries #15

ryannedolan opened this issue May 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ryannedolan
Copy link
Collaborator

When you enter a query with ... LIMIT N, hoptimator-cli will wait for N results and then continue gracefully. But if the LIMIT is omitted, or if there are less than N rows available, the query will hang waiting for results. This would be fine, except Ctrl-C fails to cancel the command and the underlying Flink job. The process must be killed externally, or we must wait for a pre-determined timeout. For now, we wait for 20 seconds and then cancel the job, dropping any buffered results on the floor.

Ideally, the job should continue to run until:
a) N results are ready, and thus the iterator is closed, or
b) you hit ctrl-C.

@ryannedolan ryannedolan changed the title hoptimator-cli hangs for umbounded queries hoptimator-cli hangs/times-out for unbounded queries May 24, 2023
@ryannedolan ryannedolan added the bug Something isn't working label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant