[ 
https://issues.apache.org/jira/browse/SPARK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangxiaojing updated SPARK-3118:
--------------------------------

    Summary: add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) 
table_name [(FROM|IN) db_name]" support  (was: SHOW COLUMNS  shows all the 
columns in a table including partition columns.)

> 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
>   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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to