druid-io / pydruid

A Python connector for Druid
Other
507 stars 198 forks source link

Support for query cancellation #33

Open se7entyse7en opened 8 years ago

drcrallen commented 8 years ago

@se7entyse7en Can you clarify a bit more on what kind of usage patterns you are wanting here?

se7entyse7en commented 8 years ago

@drcrallen I'm developing a dashboard to query druid and I'd like to have an 'abort' button that cancels the query if it's taking too long to execute. I'm already extending PyDruid in order to simplify the interface of the methods for my specific usage and I could also add there a cancel method given that it is a simple DELETE request, but I think that it should be already provided by PyDruid, don't you?