[jira] [Assigned] (SPARK-17180) Unable to Alter the Temporary View Using ALTER VIEW command

2016-08-22 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-17180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-17180:


Assignee: Apache Spark

> Unable to Alter the Temporary View Using ALTER VIEW command
> ---
>
> Key: SPARK-17180
> URL: https://issues.apache.org/jira/browse/SPARK-17180
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 2.0.0
>Reporter: Xiao Li
>Assignee: Apache Spark
>
> In the current master branch, when users do not specify the database name in 
> the `ALTER VIEW AS SELECT` command, we always try to alter the permanent view 
> even if the temporary view exists. 
> The expected behavior of `ALTER VIEW AS SELECT` should be like: alters the 
> temporary view if the temp view exists; otherwise, try to alter the permanent 
> view. This order is consistent with another command `DROP VIEW`, since users 
> are unable to specify the keyword TEMPORARY.



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



[jira] [Assigned] (SPARK-17180) Unable to Alter the Temporary View Using ALTER VIEW command

2016-08-22 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-17180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-17180:


Assignee: (was: Apache Spark)

> Unable to Alter the Temporary View Using ALTER VIEW command
> ---
>
> Key: SPARK-17180
> URL: https://issues.apache.org/jira/browse/SPARK-17180
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 2.0.0
>Reporter: Xiao Li
>
> In the current master branch, when users do not specify the database name in 
> the `ALTER VIEW AS SELECT` command, we always try to alter the permanent view 
> even if the temporary view exists. 
> The expected behavior of `ALTER VIEW AS SELECT` should be like: alters the 
> temporary view if the temp view exists; otherwise, try to alter the permanent 
> view. This order is consistent with another command `DROP VIEW`, since users 
> are unable to specify the keyword TEMPORARY.



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