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

[jira] [Resolved] (SPARK-21017) Move the length getter before the while to improve performance

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

Sean Owen resolved SPARK-21017.
-------------------------------
    Resolution: Not A Problem

> Move the length getter before the while to improve performance
> --------------------------------------------------------------
>
>                 Key: SPARK-21017
>                 URL: https://issues.apache.org/jira/browse/SPARK-21017
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.1
>            Reporter: eaton
>            Priority: Minor
>
> In my test, the cost of the while in the write function of HiveOutputWriter class have improved from 48ms to 40ms for a table of 500 rows and 100 columns when putting the length getter before the while 



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