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

Dongjoon Hyun updated SPARK-27779:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Regression when explode on map in Generate
> ------------------------------------------
>
>                 Key: SPARK-27779
>                 URL: https://issues.apache.org/jira/browse/SPARK-27779
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: L. C. Hsieh
>            Priority: Major
>
> When I ran MiscBenchmark for SPARK-27707, I found a regression regarding 
> explode map:
> {code}
> OpenJDK 64-Bit Server VM 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03 on Linux 
> 4.15.0-1021-aws
> Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
> generate explode map:                     Best Time(ms)   Avg Time(ms)   
> Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
> ------------------------------------------------------------------------------------------------------------------------
> generate explode map wholestage off               50273          51458        
> 1676          0.3        2996.5       1.0X
> generate explode map wholestage on                43113          43351        
>  278          0.4        2569.8       1.2X
> {code}
> I got this benchmark result by running MiscBenchmark on current master. All 
> benchmark result is at 
> https://gist.github.com/viirya/c850b49e364e8e6aaa6271ae9e3343fc
> The last committed benchmark number in MiscBenchmark-results.txt:
> {code}
> OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64
> Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
> generate explode map:                    Best/Avg Time(ms)    Rate(M/s)   Per 
> Row(ns)   Relative
> ------------------------------------------------------------------------------------------------
> generate explode map wholestage off         22128 / 22578          0.8        
> 1318.9       1.0X
> generate explode map wholestage on          16421 / 16520          1.0        
>  978.8       1.3X
> {code}
> It looks significant regression, hopefully I don't miss something...
> Maybe others can also help verify if there is really a regression. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to