eaton created SPARK-21017:
-----------------------------

             Summary: 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to