Github user dilipbiswal commented on a diff in the pull request: https://github.com/apache/spark/pull/20579#discussion_r167463979 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala --- @@ -68,6 +68,16 @@ class ParquetFileFormat override def toString: String = "Parquet" + private def verifySchema(schema: StructType): Unit = { + if (schema.size < 1) { --- End diff -- no particular reason :-). I can change that to "== 0".
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org