Ensure that the same code can be compiled in Scala 2.12 and Scala 2.13, the most noteworthy thing is that: we can not use scala.jdk.CollectionConverters (for compatibility with Scala 2.12), we can only use scala.collection.JavaConverters, and need to manually specify the output type (for compatibility with Scala 2.13) such as JList.asScala.toSeq
new profile -Pscala-2.13 to change to Scala2.13, default is still Scala2.12
Introduce utitcase-spark and utitcase-spark-scala2.13 CI
Purpose
Prepare for #3940
scala.jdk.CollectionConverters
(for compatibility with Scala 2.12), we can only usescala.collection.JavaConverters
, and need to manually specify the output type (for compatibility with Scala 2.13) such asJList.asScala.toSeq
-Pscala-2.13
to change to Scala2.13, default is still Scala2.12utitcase-spark
andutitcase-spark-scala2.13
CITests
API and Format
Documentation