MCPcopy Create free account
hub / github.com/apache/impala / cancel_query

Method cancel_query

tests/comparison/cluster.py:550–555  ·  view source on GitHub ↗
(self, id)

Source from the content-addressed store, hash-verified

548 self.cancel_query(data["query_id"])
549
550 def cancel_query(self, id):
551 try:
552 self._request_web_page("/cancel_query", params={"query_id": id})
553 except requests.exceptions.HTTPError as e:
554 # TODO: Handle losing the race
555 raise e
556
557 def get_version_info(self):
558 with self.cluster.impala.cursor(impalad=self) as cursor:

Callers 4

cancel_queriesMethod · 0.95
_cancelMethod · 0.45
cancelMethod · 0.45
test_cancel_queryMethod · 0.45

Calls 1

_request_web_pageMethod · 0.95

Tested by 1

test_cancel_queryMethod · 0.36