Hello Thomas Tauber-Marshall, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/14422

to look at the new patch set (#3).

Change subject: IMPALA-8738: Extend "show tables" to return values other than 
the table name
......................................................................

IMPALA-8738: Extend "show tables" to return values other than the table name

The syntax is "show tables", now adding support for "show extended tables".
Show tables only returns the name of the table, and the functionality
remains the same.The command show extended tables returns table_type
in addition to the table name.

Table_type is obtained from the table metadata that has been loaded.
So it may take some time if the table has not yet been loaded.

Testing:
- fe AuthorizationTest#TestShowTableResultsFiltered
- fe AuthorizationTest#TestShowExtendTableResultsFiltered

Change-Id: I63057c9d2fc453f95c6890bdc90e11c61a98a419
---
M be/src/catalog/catalog.cc
M be/src/service/client-request-state.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-http-handler.cc
M common/thrift/Frontend.thrift
M fe/src/main/cup/sql-parser.cup
M fe/src/main/java/org/apache/impala/analysis/ShowTablesStmt.java
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
M fe/src/main/java/org/apache/impala/service/MetadataOp.java
M fe/src/test/java/org/apache/impala/authorization/AuthorizationTest.java
12 files changed, 171 insertions(+), 57 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/22/14422/3
--
To view, visit http://gerrit.cloudera.org:8080/14422
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I63057c9d2fc453f95c6890bdc90e11c61a98a419
Gerrit-Change-Number: 14422
Gerrit-PatchSet: 3
Gerrit-Owner: Anonymous Coward <cnsdjnfan...@qq.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tmarsh...@cloudera.com>

Reply via email to