wangyum commented on a change in pull request #26804:
URL: https://github.com/apache/spark/pull/26804#discussion_r561044576



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamSuite.scala
##########
@@ -225,7 +226,9 @@ class StreamSuite extends StreamTest {
 
     val df = spark.readStream.format(classOf[FakeDefaultSource].getName).load()
     Seq("", "parquet").foreach { useV1Source =>
-      withSQLConf(SQLConf.USE_V1_SOURCE_LIST.key -> useV1Source) {
+      withSQLConf(
+        SQLConf.USE_V1_SOURCE_LIST.key -> useV1Source,
+        ParquetOutputFormat.PAGE_WRITE_CHECKSUM_ENABLED -> "false") {

Review comment:
       Disable `parquet.page.write-checksum.enabled`, otherwise:
   ```
   [info] - DataFrame reuse *** FAILED *** (1 second, 802 milliseconds)
   [info]   Decoded objects do not match expected objects:
   [info]   expected: WrappedArray(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
   [info]   actual:   WrappedArray(0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 2)
   [info]   assertnotnull(upcast(getcolumnbyordinal(0, LongType), LongType, - 
root class: "scala.Long"))
   [info]   +- upcast(getcolumnbyordinal(0, LongType), LongType, - root class: 
"scala.Long")
   [info]      +- getcolumnbyordinal(0, LongType) (QueryTest.scala:68)
   ```
   This issue introduced by 
[PARQUET-1580](https://issues.apache.org/jira/browse/PARQUET-1580). cc 
@gszadovszky




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to