[jira] [Assigned] (SPARK-17590) Analyze CTE definitions at once

2016-09-18 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-17590:


Assignee: (was: Apache Spark)

> Analyze CTE definitions at once
> ---
>
> Key: SPARK-17590
> URL: https://issues.apache.org/jira/browse/SPARK-17590
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Reporter: Liang-Chi Hsieh
>
> We substitute logical plan with CTE definitions in the analyzer rule 
> CTESubstitution. A CTE definition can be used in the logical plan for 
> multiple times, and its analyzed logical plan should be the same. We should 
> not analyze CTE definitions multiple times when they are reused in the query.



--
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-17590) Analyze CTE definitions at once

2016-09-18 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-17590:


Assignee: Apache Spark

> Analyze CTE definitions at once
> ---
>
> Key: SPARK-17590
> URL: https://issues.apache.org/jira/browse/SPARK-17590
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Reporter: Liang-Chi Hsieh
>Assignee: Apache Spark
>
> We substitute logical plan with CTE definitions in the analyzer rule 
> CTESubstitution. A CTE definition can be used in the logical plan for 
> multiple times, and its analyzed logical plan should be the same. We should 
> not analyze CTE definitions multiple times when they are reused in the query.



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