Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/22357#discussion_r215899595 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaPruningSuite.scala --- @@ -155,6 +155,30 @@ class ParquetSchemaPruningSuite Row(null) :: Row(null) :: Nil) } + testSchemaPruning("select a single complex field and in where clause") { + val query = sql("select name.first from contacts where name.first = 'Jane'") + checkScan(query, "struct<name:struct<first:string>>") + checkAnswer(query, Row("Jane") :: Nil) --- End diff -- Yes. Added test case for it.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org