spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <>
Subject [jira] [Commented] (SPARK-4386) Parquet file write performance improvement
Date Thu, 13 Nov 2014 20:44:33 GMT


Apache Spark commented on SPARK-4386:

User 'jimfcarroll' has created a pull request for this issue:

> Parquet file write performance improvement
> ------------------------------------------
>                 Key: SPARK-4386
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Jim Carroll
> If you profile the writing of a Parquet file, the single worst time consuming call inside
of org.apache.spark.sql.parquet.MutableRowWriteSupport.write is actually in the scala.collection.AbstractSequence.size
call. This is because the size call actually ends up COUNTING the elements in a scala.collection.LinearSeqOptimized
> This doesn't need to be done. "size" is called repeatedly where needed rather than called
once at the top of the method and stored in a 'val'. I have a PR for this.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message