[ 
https://issues.apache.org/jira/browse/SPARK-16115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507726#comment-15507726
 ] 

Sunitha Kambhampati commented on SPARK-16115:
---------------------------------------------

Other pr's for SPARK-16543 and SPARK-17502 have been merged that resolve this 
JIRA.  

So, I'm resolving this issue. 

> Improve output column name for SHOW PARTITIONS command and improve an error 
> message
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-16115
>                 URL: https://issues.apache.org/jira/browse/SPARK-16115
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Sunitha Kambhampati
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Opening this issue to address the following:
> 1. For the SHOW PARTITIONS command, the column name in the output is 
> 'result'.   In Hive, the column name is 'partition' which is more 
> descriptive. Change the output schema, column name from 'result' to 
> 'partition'
> 2. Corner case: Improve the error message for a non-existent table
> Right now, the below error is thrown:
>  scala> spark.sql("show partitions t1");
>  org.apache.spark.sql.AnalysisException: SHOW PARTITIONS is not   allowed on 
> a table that is not partitioned: default.t1;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to