[
https://issues.apache.org/jira/browse/SPARK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust resolved SPARK-3118.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0
> add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) table_name
> [(FROM|IN) db_name]" support
> -----------------------------------------------------------------------------------------------------
>
> Key: SPARK-3118
> URL: https://issues.apache.org/jira/browse/SPARK-3118
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Reporter: wangxiaojing
> Priority: Minor
> Fix For: 1.1.0
>
> 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: [email protected]
For additional commands, e-mail: [email protected]