Github user sameeragarwal commented on a diff in the pull request:
https://github.com/apache/spark/pull/12619#discussion_r60822682
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRelation.scala
---
@@ -308,8 +304,11 @@ private[sql] class DefaultSource
// TODO: if you move this into the closure it reverts to the default
values.
// If true, enable using the custom RecordReader for parquet. This
only works for
// a subset of the types (no complex types).
- val enableVectorizedParquetReader: Boolean =
sqlContext.conf.parquetVectorizedReaderEnabled &&
- dataSchema.forall(_.dataType.isInstanceOf[AtomicType])
+ val resultSchema = StructType(partitionSchema.fields ++
requiredSchema.fields)
+ val enableVectorizedReader: Boolean =
sqlContext.conf.parquetVectorizedReaderEnabled &&
--- End diff --
Nothing too important. The comment `// If true, enable using the custom
RecordReader for parquet...` could be above this line.
---
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]