Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/20953#discussion_r179342708
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaSuite.scala
---
@@ -382,6 +384,59 @@ class ParquetSchemaSuite extends ParquetSchemaTest {
}
}
+ // =======================================
+ // Tests for parquet schema mismatch error
+ // =======================================
+ def testSchemaMismatch(path: String, vectorizedReaderEnabled: Boolean):
SparkException = {
+ import testImplicits._
+
+ var e: SparkException = null
+ // Disable databricks' vectorized parquet reader and use open source
version.
--- End diff --
@yuchenhuo . In Apache Spark, this comment should be removed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]