You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/09/12 06:24:20 UTC

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

Xiao Li created SPARK-17502:
-------------------------------

             Summary: 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