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


Change subject: [IMPALA-11728] Set fallback database for functions
......................................................................

[IMPALA-11728] Set fallback database for functions

The create function statement can only works on specified database.
When using the function in another database, it will throw
an AnalysisException because unknown for database.

Add a fallback database for functions as query option. It works on
all database without changing query.

Testing:
  - add test_fallback_db_for_functions.py

Change-Id: I37b7e126718fea1c50723cacbaed898b20bb55e5
---
M be/src/service/query-options.cc
M be/src/service/query-options.h
M common/thrift/ImpalaService.thrift
M common/thrift/Query.thrift
M fe/src/main/java/org/apache/impala/analysis/FunctionName.java
M tests/common/impala_test_suite.py
A tests/custom_cluster/test_fallback_db_for_functions.py
M tests/metadata/test_ddl.py
8 files changed, 85 insertions(+), 4 deletions(-)



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

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

Reply via email to