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

Feature request: cancel query upon keyboard interrupt #153

Closed
kaheicanaan opened this issue Jul 31, 2020 · 2 comments
Closed

Feature request: cancel query upon keyboard interrupt #153

kaheicanaan opened this issue Jul 31, 2020 · 2 comments

Comments

@kaheicanaan
Copy link

When the SQL statement is mis-configured, a large output might generated (which waste plenty of time and resource). Is it a good idea to handle keyboard interrupt (e.g. Ctrl + C) and cancel the corresponding query if it is still running on Athena? I can work on this feature if you think it is appropriate.

@laughingman7743
Copy link
Owner

Implemented in v1.11.0. Please give it a try. 😁
https://github.com/laughingman7743/PyAthena/releases/tag/v1.11.0
#150

@kaheicanaan
Copy link
Author

Oh sorry for repeated request. I didn't pay much attention on existing issues. Btw, I have tested it manually and it works perfectly! Thanks.

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

2 participants