Github user mannharleen commented on a diff in the pull request: https://github.com/apache/spark/pull/20579#discussion_r167463659 --- 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 -- any particular reason for using "< 1" and not "== 0". just curious
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org