Wenzhe Zhou has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21187


Change subject: IMPALA-12928: Mask JDBC table property dbcp.password for DESC 
FORMATTED and SHOW CREATE TABLE
......................................................................

IMPALA-12928: Mask JDBC table property dbcp.password for DESC FORMATTED and 
SHOW CREATE TABLE

'desc formatted' and 'show create table' commands show all of table
properties in clear text. For external JDBC table, dbcp.password table
property value should be masked in the output of these two commands.

This patch makes dbcp.password property value been masked in the output
of 'desc formatted' and 'show create table' commands.

Testing:
 - Added end-to-end test cases.
 - Passed core tests.

Change-Id: I83dc32c8d0fec1cdfdfe06e720561b2ae1adf5df
---
M fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
M fe/src/main/java/org/apache/impala/catalog/DataSourceTable.java
M fe/src/main/java/org/apache/impala/util/HiveMetadataFormatUtils.java
M tests/query_test/test_ext_data_sources.py
4 files changed, 52 insertions(+), 4 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83dc32c8d0fec1cdfdfe06e720561b2ae1adf5df
Gerrit-Change-Number: 21187
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>

Reply via email to