(self, vector)
| 42 | assert_kill_ok(client, query_id_to_kill) |
| 43 | |
| 44 | def test_invalid_query_id(self, vector): |
| 45 | with self.create_impala_client(protocol=vector.get_value('protocol')) as client: |
| 46 | assert_kill_error( |
| 47 | client, |
| 48 | "ParseException: Syntax error", |
| 49 | sql="KILL QUERY 123:456", |
| 50 | ) |
| 51 | assert_kill_error( |
| 52 | client, |
| 53 | "AnalysisException: Invalid query id: ''", |
| 54 | sql="KILL QUERY ''", |
| 55 | ) |
| 56 | assert_kill_error( |
| 57 | client, |
| 58 | "AnalysisException: Invalid query id: 'f:g'", |
| 59 | sql="KILL QUERY 'f:g'", |
| 60 | ) |
| 61 | assert_kill_error( |
| 62 | client, |
| 63 | "AnalysisException: Invalid query id: '123'", |
| 64 | sql="KILL QUERY '123'", |
| 65 | ) |
| 66 | |
| 67 | def test_idempotence(self, vector): |
| 68 | protocol = vector.get_value('protocol') |
nothing calls this directly
no test coverage detected