[jira] [Assigned] (SPARK-13314) Malformed WholeStageCodegen tree string

2016-02-14 Thread Cheng Lian (JIRA)

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

Cheng Lian reassigned SPARK-13314:
--

Assignee: Cheng Lian

> Malformed WholeStageCodegen tree string
> ---
>
> Key: SPARK-13314
> URL: https://issues.apache.org/jira/browse/SPARK-13314
> Project: Spark
>  Issue Type: Bug
>Reporter: Cheng Lian
>Assignee: Cheng Lian
>Priority: Minor
>
> {{WholeStageCodegen}} overrides {{generateTreeString}} to show the inner plan 
> tree, but the output can be malformed when the plan contains binary operators:
> {code}
> val a = sqlContext range 5
> val b = sqlContext range 2
> a select ('id as 'a) unionAll (b select ('id as 'a)) explain true
> {code}
> {noformat}
> ...
> == Physical Plan ==
> Union
> :- WholeStageCodegen
> :  :  +- Project [id#3L AS a#6L]
> :  : +- Range 0, 1, 8, 5, [id#3L]
> +- WholeStageCodegen
>:  +- Project [id#4L AS a#7L]
>: +- Range 0, 1, 8, 2, [id#4L]
> {noformat}



--
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-13314) Malformed WholeStageCodegen tree string

2016-02-14 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-13314:


Assignee: Apache Spark  (was: Cheng Lian)

> Malformed WholeStageCodegen tree string
> ---
>
> Key: SPARK-13314
> URL: https://issues.apache.org/jira/browse/SPARK-13314
> Project: Spark
>  Issue Type: Bug
>Reporter: Cheng Lian
>Assignee: Apache Spark
>Priority: Minor
>
> {{WholeStageCodegen}} overrides {{generateTreeString}} to show the inner plan 
> tree, but the output can be malformed when the plan contains binary operators:
> {code}
> val a = sqlContext range 5
> val b = sqlContext range 2
> a select ('id as 'a) unionAll (b select ('id as 'a)) explain true
> {code}
> {noformat}
> ...
> == Physical Plan ==
> Union
> :- WholeStageCodegen
> :  :  +- Project [id#3L AS a#6L]
> :  : +- Range 0, 1, 8, 5, [id#3L]
> +- WholeStageCodegen
>:  +- Project [id#4L AS a#7L]
>: +- Range 0, 1, 8, 2, [id#4L]
> {noformat}



--
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-13314) Malformed WholeStageCodegen tree string

2016-02-14 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-13314:


Assignee: Cheng Lian  (was: Apache Spark)

> Malformed WholeStageCodegen tree string
> ---
>
> Key: SPARK-13314
> URL: https://issues.apache.org/jira/browse/SPARK-13314
> Project: Spark
>  Issue Type: Bug
>Reporter: Cheng Lian
>Assignee: Cheng Lian
>Priority: Minor
>
> {{WholeStageCodegen}} overrides {{generateTreeString}} to show the inner plan 
> tree, but the output can be malformed when the plan contains binary operators:
> {code}
> val a = sqlContext range 5
> val b = sqlContext range 2
> a select ('id as 'a) unionAll (b select ('id as 'a)) explain true
> {code}
> {noformat}
> ...
> == Physical Plan ==
> Union
> :- WholeStageCodegen
> :  :  +- Project [id#3L AS a#6L]
> :  : +- Range 0, 1, 8, 5, [id#3L]
> +- WholeStageCodegen
>:  +- Project [id#4L AS a#7L]
>: +- Range 0, 1, 8, 2, [id#4L]
> {noformat}



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