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 2016/09/12 06:25:20 UTC

[jira] [Commented] (SPARK-17502) Multiple Bugs in DDL Statements on Temporary Views

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

Apache Spark commented on SPARK-17502:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/15054

> Multiple Bugs in DDL Statements on Temporary Views 
> ---------------------------------------------------
>
>                 Key: SPARK-17502
>                 URL: https://issues.apache.org/jira/browse/SPARK-17502
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.1, 2.1.0
>            Reporter: Xiao Li
>
> - When the permanent tables/views do not exist but the temporary view exists, the expected error should be `NoSuchTableException` for partition-related ALTER TABLE commands. However, it always reports a confusing error message. For example, 
> {noformat}
> Partition spec is invalid. The spec (a, b) must match the partition spec () defined in table '`testview`';
> {noformat}
> - When the permanent tables/views do not exist but the temporary view exists, the expected error should be `NoSuchTableException` for `ALTER TABLE ... UNSET TBLPROPERTIES`. However, it reports missing table property. However, the expected error should be `NoSuchTableException`. For example, 
> {noformat}
> Attempted to unset non-existent property 'p' in table '`testView`';
> {noformat}



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

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