You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/08/19 17:27:19 UTC
[jira] [Commented] (SPARK-3118) add "SHOW TBLPROPERTIES tblname;"
and "SHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name]" support
[ https://issues.apache.org/jira/browse/SPARK-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102317#comment-14102317 ]
Apache Spark commented on SPARK-3118:
-------------------------------------
User 'u0jing' has created a pull request for this issue:
https://github.com/apache/spark/pull/2034
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org