[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14422


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, 164 insertions(+), 40 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/22/14422/1
--
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: newchange
Gerrit-Change-Id: I63057c9d2fc453f95c6890bdc90e11c61a98a419
Gerrit-Change-Number: 14422
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to