mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
The problem was that we were setting a flag marking the last_query_handle as closed, but were not resetting the flag before the next query. This caused the first query to be closed properly, but subsequent queries would not be closed. The fix is to change where the flag is reset to the same place as where we assign last_query_handle. Added a test case. Change-Id: I870a96789489bfe4f388910b808409cd0584af8a (cherry picked from commit 1439151af5b63112b0dd631fac9c7ab4d43bba37) Reviewed-on: http://gerrit.ent.cloudera.com:8080/1976 Reviewed-by: Lenni Kuff <lskuff@cloudera.com> Tested-by: jenkins
6 lines
85 B
SQL
6 lines
85 B
SQL
-- Regression test for IMPALA-897
|
|
select 1;
|
|
select 1;
|
|
select 1;
|
|
select sleep(10000);
|