Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/511#discussion_r12010474
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetTableOperations.scala
---
@@ -46,7 +47,7 @@ case class ParquetTableScan(
// https://issues.apache.org/jira/browse/SPARK-1367
output: Seq[Attribute],
relation: ParquetRelation,
- columnPruningPred: Option[Expression])(
+ columnPruningPred: Option[Seq[Expression]])(
--- End diff --
Why have an `Option[Seq[...]]` when option is just a special `Seq` that has
0 or 1 elements? Can we just model the `None` case with an empty Seq?
---
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.
---