You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/09/12 07:35:32 UTC

[GitHub] [hudi] xushiyan commented on a change in pull request #3580: [HUDI-1869] Upgrading Spark3 To 3.1

xushiyan commented on a change in pull request #3580:
URL: https://github.com/apache/hudi/pull/3580#discussion_r706777459



##########
File path: pom.xml
##########
@@ -1486,6 +1487,16 @@
       </activation>
     </profile>
 
+    <profile>
+      <id>isSpark3.0</id>
+<!--      for spark 3.0.x we need override the follow propeprties to package and run test-->
+      <properties>
+        <spark3.version>3.0.0</spark3.version>
+        <spark.version>${spark3.version}</spark.version>
+        <scalatest.version>3.0.1</scalatest.version>
+      </properties>
+    </profile>

Review comment:
       instead of a boolean flag, better be explicit about spark version and have a maven profile match to it. we can call it `-Dspark3.0` and keep `-Dspark3` points to the latest Spark 3 release.




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org