LuciferYang edited a comment on pull request #29760: URL: https://github.com/apache/spark/pull/29760#issuecomment-692710009
cc @srowen , this pr fix all failed test cases in `sql/hive` module. In this patch add `test-2.13.jar` to `sql/hive/src/test/resources/regression-test-SPARK-8489` dir, the `test-2.13.jar` not a copy of `test-2.12.jar`, I try to generate `test-2.13` as https://github.com/apache/spark/pull/22308 but failed because there is no spark 3.1.0-SNAPSHOT deploy in maven repository, and I generate it as follow: 1. create a `test` module in spark source 2. copy `Main.scala` and `MyCoolClass.scala` to `src/main/scala` dir of `test` module 3. create a `pom.xml` use spark base `pom.xml` as parent pom and add dependency ``` <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_${scala.binary.version}</artifactId> <version>${project.version}</version> </dependency> ``` 4. mvn build `test` module with -am and rename `original-test-2.13-3.1.0-SNAPSHOT.jar` to `test-2.13.jar` ---------------------------------------------------------------- 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]
