dbtsai commented on a change in pull request #33969:
URL: https://github.com/apache/spark/pull/33969#discussion_r708543987
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetIOSuite.scala
##########
@@ -855,6 +855,12 @@ class ParquetIOSuite extends QueryTest with ParquetTest
with SharedSparkSession
}
}
+ test("SPARK-36726: test incorrect Parquet row group file offset") {
+ readParquetFile("test-data/malformed-file-offset.parquet") { df =>
+ assert(df.count() == 3650)
Review comment:
You are right. I'm surprised that non-vectorized path is always tested.
In many tests, we specifically test both paths, and they are not necessary
given the non-vectorized will always be tested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]