Sunitha Kambhampati created SPARK-16115: -------------------------------------------
Summary: 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 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. 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