Github user jimfcarroll commented on the pull request:
https://github.com/apache/spark/pull/3254#issuecomment-68011659
Just an FYI. I changed line 141 of ParquetTableSupport.scala
(https://github.com/apache/spark/blob/ad42b283246b93654c5fd731cd618fee74d8c4da/sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetTableSupport.scala#L141)
from this
```scala
attributes = ParquetTypesConverter.convertFromString(origAttributesStr)
```
to look like this:
```scala
attributes =
ParquetTypesConverter.convertFromString(origAttributesStr).toArray[Attribute]
```
(I also changed the type of attributes to an Array[Attribute]). As
@MickDavies said, this seems to have a fairly dramatic affect on the
performance.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]