You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/03/24 06:08:41 UTC

[jira] [Comment Edited] (SPARK-20068) Twenty-two column coalesce has pool performance when codegen is open

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

Hyukjin Kwon edited comment on SPARK-20068 at 3/24/17 6:07 AM:
---------------------------------------------------------------

I am resolving this per the comment above.
It would be great if anyone can identify which PR fixes this and backports if applicable.


was (Author: hyukjin.kwon):
I am resolving this per the comment above as written in http://spark.apache.org/contributing.html

{quote}
For issues that can’t be reproduced against master as reported, resolve as Cannot Reproduce
{quote}

It would be great if anyone can identify which PR fixes this and backports if applicable.

> Twenty-two column coalesce has pool performance when codegen is open
> --------------------------------------------------------------------
>
>                 Key: SPARK-20068
>                 URL: https://issues.apache.org/jira/browse/SPARK-20068
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: QQShu1
>
> when the coalesce has Twenty-one  column the select performance is well, but the Twenty-two column coalesce the select performance is pool. 
> I use the 22 column coalesce select commend is that : 
> SELECT  
> SUM(COALESCE(col1,0)) AS CUSTOM1, 
> SUM(COALESCE(col2,0)) AS CUSTOM2, 
> SUM(COALESCE(col3,0)) AS CUSTOM3, 
> SUM(COALESCE(col4,0)) AS CUSTOM4, 
> SUM(COALESCE(col5,0)) AS CUSTOM5, 
> SUM(COALESCE(col6,0)) AS CUSTOM6, 
> SUM(COALESCE(col7,0)) AS CUSTOM7, 
> SUM(COALESCE(col8,0)) AS CUSTOM8, 
> SUM(COALESCE(col9,0)) AS CUSTOM9, 
> SUM(COALESCE(col10,0)) AS CUSTOM10, 
> SUM(COALESCE(col11,0)) AS CUSTOM11, 
> SUM(COALESCE(col12,0)) AS CUSTOM12, 
> SUM(COALESCE(col13,0)) AS CUSTOM13, 
> SUM(COALESCE(col14,0)) AS CUSTOM14, 
> SUM(COALESCE(col15,0)) AS CUSTOM15, 
> SUM(COALESCE(col16,0)) AS CUSTOM16, 
> SUM(COALESCE(col17,0)) AS CUSTOM17, 
> SUM(COALESCE(col18,0)) AS CUSTOM18, 
> SUM(COALESCE(col19,0)) AS CUSTOM19, 
> SUM(COALESCE(col20,0)) AS CUSTOM20, 
> SUM(COALESCE(col21,0)) AS CUSTOM21, 
> SUM(COALESCE(col22,0)) AS CUSTOM22
> FROM txt_table ;
>  the 21 column select commend it that:
> SELECT  
> SUM(COALESCE(col1,0)) AS CUSTOM1, 
> SUM(COALESCE(col2,0)) AS CUSTOM2, 
> SUM(COALESCE(col3,0)) AS CUSTOM3, 
> SUM(COALESCE(col4,0)) AS CUSTOM4, 
> SUM(COALESCE(col5,0)) AS CUSTOM5, 
> SUM(COALESCE(col6,0)) AS CUSTOM6, 
> SUM(COALESCE(col7,0)) AS CUSTOM7, 
> SUM(COALESCE(col8,0)) AS CUSTOM8, 
> SUM(COALESCE(col9,0)) AS CUSTOM9, 
> SUM(COALESCE(col10,0)) AS CUSTOM10, 
> SUM(COALESCE(col11,0)) AS CUSTOM11, 
> SUM(COALESCE(col12,0)) AS CUSTOM12, 
> SUM(COALESCE(col13,0)) AS CUSTOM13, 
> SUM(COALESCE(col14,0)) AS CUSTOM14, 
> SUM(COALESCE(col15,0)) AS CUSTOM15, 
> SUM(COALESCE(col16,0)) AS CUSTOM16, 
> SUM(COALESCE(col17,0)) AS CUSTOM17, 
> SUM(COALESCE(col18,0)) AS CUSTOM18, 
> SUM(COALESCE(col19,0)) AS CUSTOM19, 
> SUM(COALESCE(col20,0)) AS CUSTOM20, 
> SUM(COALESCE(col21,0)) AS CUSTOM21
> FROM txt_table ;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org