-
Notifications
You must be signed in to change notification settings - Fork 247
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
Killing SQL queries #178
Comments
@julienbaley this was just fixed in 1253050 Can you confirm if this solved your problem (I'm going to cut a release next week) |
Ah, I should have installed |
This fix was released |
@wesm Out of curiosity, why have you guys stopped using Git tags / GitHub releases? It makes it difficult to read what's in what release.. |
Sorry about that. I just pushed a 0.13.5 tag. The others were mostly bumping dependencies (plus 0.13.4 contained a packaging hiccup that required bumping the release number to push a new tarball) |
@wesm Is that not what cancel_operation is for? I haven't found how I'm supposed to use it otherwise. |
Is cancel_operation being called before execute_async has been completed? Sounds like there may be a threadsafety issue (may need to add a lock to the Cursor object) |
I'm calling it after. Do I misunderstand the name of the function? From the name, I take |
Could you break this down more concretely, I'm still not 100% clear on what is happening. it sounds like:
Is that not the case? Or can you explain where execute_async is failing? I don't understand what "raises exceptions on both ends" means. If If I'm misunderstanding can you please give more detail on the exact control flow and the stack traces. Thank you |
Sure, here is what I run: (I'm not at work so I can't check, but from memory) Of course, if it happens just because I'm using |
I see. execute_async in theory should not block, so that suggests that the |
|
Is it a feature that could be added to impyla, or is there no way to do that?
I've tried to use Cursor.cancel_operation, but it didn't seem to do anything. In fact, I've found that Cursor.execute_async was not returning immediately (it basically behaved like execute). Is this a known problem? Do I need some extra configuration?
(I'm using Hive 2 and Python 3.4)
The text was updated successfully, but these errors were encountered: