[email protected] has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/14164 )
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: Ic57aca1fa74df36b1cd33e2d3e412c16ec0b15f4 --- 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, 159 insertions(+), 38 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/14164/2 -- To view, visit http://gerrit.cloudera.org:8080/14164 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic57aca1fa74df36b1cd33e2d3e412c16ec0b15f4 Gerrit-Change-Number: 14164 Gerrit-PatchSet: 2 Gerrit-Owner: Anonymous Coward <[email protected]>
