Xiaoqing Gao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18430


Change subject: IMPALA-11233: Unset all query option When using jdbc connection 
pool, a connection set some query option, after query finished, connection is 
closed and put back to the connection pool. When connection used again, the 
last query option also come into affe
......................................................................

IMPALA-11233: Unset all query option
When using jdbc connection pool, a connection set some query option,
after query finished, connection is closed and put back to the connection pool.
When connection used again, the last query option also come into affect.
We need a feature that a set statement can reset all query option without 
restart impalad.

Support UNSET statements in SQL dialect. UNSET ALL can unset all query option.

Testing:
  - add unset all query option in test_hs2.py

Change-Id: Iabf23622daab733ddab20dd3ca73af6c9bd5c250
---
M be/src/service/client-request-state.cc
M be/src/service/query-options.cc
M be/src/service/query-options.h
M common/thrift/Frontend.thrift
M fe/src/main/cup/sql-parser.cup
M fe/src/main/java/org/apache/impala/analysis/SetStmt.java
M shell/impala_shell.py
M tests/hs2/test_hs2.py
8 files changed, 68 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/18430/1
--
To view, visit http://gerrit.cloudera.org:8080/18430
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabf23622daab733ddab20dd3ca73af6c9bd5c250
Gerrit-Change-Number: 18430
Gerrit-PatchSet: 1
Gerrit-Owner: Xiaoqing Gao <gaoxq...@gmail.com>

Reply via email to