You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wangxiaojing (JIRA)" <ji...@apache.org> on 2014/08/19 07:34:18 UTC
[jira] [Updated] (SPARK-3118) SHOW COLUMNS shows all the columns
in a table including partition columns.
[ https://issues.apache.org/jira/browse/SPARK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangxiaojing updated SPARK-3118:
--------------------------------
Description:
The "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name]" syntax had been disabled.
SHOW COLUMNS shows all the columns in a table including partition columns.
SHOW TBLPROPERTIES shows Table Properties.
They all describe a hive table.
spark-sql> SHOW COLUMNS in test;
SHOW COLUMNS in test;
java.lang.RuntimeException:
Unsupported language features in query: SHOW COLUMNS in test
TOK_SHOWCOLUMNS
TOK_TABNAME
test
spark-sql> SHOW TBLPROPERTIES test;
SHOW TBLPROPERTIES test;
java.lang.RuntimeException:
Unsupported language features in query: SHOW TBLPROPERTIES test
TOK_SHOW_TBLPROPERTIES
test
Remaining Estimate: 12h
Original Estimate: 12h
> SHOW COLUMNS shows all the columns in a table including partition columns.
> ---------------------------------------------------------------------------
>
> Key: SPARK-3118
> URL: https://issues.apache.org/jira/browse/SPARK-3118
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Reporter: wangxiaojing
> Priority: Minor
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> The "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name]" syntax had been disabled.
> SHOW COLUMNS shows all the columns in a table including partition columns.
> SHOW TBLPROPERTIES shows Table Properties.
> They all describe a hive table.
> spark-sql> SHOW COLUMNS in test;
> SHOW COLUMNS in test;
> java.lang.RuntimeException:
> Unsupported language features in query: SHOW COLUMNS in test
> TOK_SHOWCOLUMNS
> TOK_TABNAME
> test
> spark-sql> SHOW TBLPROPERTIES test;
> SHOW TBLPROPERTIES test;
> java.lang.RuntimeException:
> Unsupported language features in query: SHOW TBLPROPERTIES test
> TOK_SHOW_TBLPROPERTIES
> test
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org