spark-instrumented-optimizer/sql/hive-thriftserver
Yin Huai e189cbb052 [SPARK-4865][SQL]Include temporary tables in SHOW TABLES
This PR adds a `ShowTablesCommand` to support `SHOW TABLES [IN databaseName]` SQL command. The result of `SHOW TABLE` has two columns, `tableName` and `isTemporary`. For temporary tables, the value of `isTemporary` column will be `false`.

JIRA: https://issues.apache.org/jira/browse/SPARK-4865

Author: Yin Huai <yhuai@databricks.com>

Closes #4618 from yhuai/showTablesCommand and squashes the following commits:

0c09791 [Yin Huai] Use ShowTablesCommand.
85ee76d [Yin Huai] Since SHOW TABLES is not a Hive native command any more and we will not see "OK" (originally generated by Hive's driver), use SHOW DATABASES in the test.
94bacac [Yin Huai] Add SHOW TABLES to the list of noExplainCommands.
d71ed09 [Yin Huai] Fix test.
a4a6ec3 [Yin Huai] Add SHOW TABLE command.
2015-02-16 15:59:23 -08:00
..
src [SPARK-4865][SQL]Include temporary tables in SHOW TABLES 2015-02-16 15:59:23 -08:00
v0.12.0/src/main/scala/org/apache/spark/sql/hive/thriftserver [SPARK-5097][SQL] DataFrame 2015-01-27 16:08:24 -08:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver [SPARK-5097][SQL] DataFrame 2015-01-27 16:08:24 -08:00
pom.xml [SPARK-4925][SQL] Publish Spark SQL hive-thriftserver maven artifact 2015-01-10 13:19:12 -08:00