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

Yin Huai edited comment on SPARK-17409 at 9/9/16 5:37 PM:
----------------------------------------------------------

Note: according to 
https://github.com/apache/spark/pull/14797#issuecomment-244848780, this issue 
only affects current master (spark 2.1).


was (Author: yhuai):
Note: according to 
https://github.com/apache/spark/pull/14797#issuecomment-244848780, this issue 
only affects current master (2.1).

> Query in CTAS is Optimized Twice
> --------------------------------
>
>                 Key: SPARK-17409
>                 URL: https://issues.apache.org/jira/browse/SPARK-17409
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Critical
>
> The query in CTAS is optimized twice, as reported in the PR: 
> https://github.com/apache/spark/pull/14797
> {quote}
> Some analyzer rules have assumptions on logical plans, optimizer may break 
> these assumption, we should not pass an optimized query plan into 
> QueryExecution (will be analyzed again), otherwise we may some weird bugs.
> {quote}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to