yihua commented on code in PR #11130:
URL: https://github.com/apache/hudi/pull/11130#discussion_r1586996825
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestCOWDataSource.scala:
##########
@@ -959,7 +959,7 @@ class TestCOWDataSource extends HoodieSparkClientTestBase
with ScalaAssertionSup
assertEquals(insert1Cnt, hoodieROViewDF1.count())
val commitInstantTime1 = HoodieDataSourceHelpers.latestCommit(storage,
basePath)
- val records2 = recordsToStrings(inserts2Dup ++ inserts2New).toList
+ val records2 = recordsToStrings((inserts2Dup.asScala ++
inserts2New.asScala).asJava).asScala.toList
Review Comment:
This is how it is equivalently in Scala 2.13. I guess Scala 2.13 wants to
surface all these anti-patterns up.
--
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]