Skip to content

Commit

Permalink
[GLUTEN-3625][FOLLOWUP] Recover to the use of hardcode module name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-you authored Nov 10, 2023
1 parent 3ecf596 commit 047c993
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 11 deletions.
22 changes: 21 additions & 1 deletion gluten-ut/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

<modules>
<module>common</module>
<module>${spark.test.module}</module>
</modules>

<artifactId>gluten-ut</artifactId>
Expand Down Expand Up @@ -180,4 +179,25 @@
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>spark-3.2</id>
<modules>
<module>spark32</module>
</modules>
</profile>
<profile>
<id>spark-3.3</id>
<modules>
<module>spark33</module>
</modules>
</profile>
<profile>
<id>spark-3.4</id>
<modules>
<module>spark34</module>
</modules>
</profile>
</profiles>
</project>
13 changes: 4 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
<scala.version>2.12.15</scala.version>
<spark.major.version>3</spark.major.version>
<sparkbundle.version>3.2</sparkbundle.version>
<spark.shim.module>spark32</spark.shim.module>
<spark.test.module>spark32</spark.test.module>
<spark.version>3.2.2</spark.version>
<sparkshim.artifactId>spark-sql-columnar-shims-${spark.shim.module}</sparkshim.artifactId>
<sparkshim.artifactId>spark-sql-columnar-shims-spark32</sparkshim.artifactId>
<celeborn.version>0.3.0-incubating</celeborn.version>
<arrow.version>12.0.0</arrow.version>
<arrow-memory.artifact>arrow-memory-unsafe</arrow-memory.artifact>
Expand Down Expand Up @@ -108,8 +106,7 @@
</activation>
<properties>
<sparkbundle.version>3.2</sparkbundle.version>
<spark.shim.module>spark32</spark.shim.module>
<spark.test.module>spark32</spark.test.module>
<sparkshim.artifactId>spark-sql-columnar-shims-spark32</sparkshim.artifactId>
<spark.version>3.2.2</spark.version>
<delta.version>2.0.1</delta.version>
<delta.binary.version>20</delta.binary.version>
Expand All @@ -119,8 +116,7 @@
<id>spark-3.3</id>
<properties>
<sparkbundle.version>3.3</sparkbundle.version>
<spark.shim.module>spark33</spark.shim.module>
<spark.test.module>spark33</spark.test.module>
<sparkshim.artifactId>spark-sql-columnar-shims-spark33</sparkshim.artifactId>
<spark.version>3.3.1</spark.version>
<delta.version>2.2.0</delta.version>
<delta.binary.version>22</delta.binary.version>
Expand All @@ -130,8 +126,7 @@
<id>spark-3.4</id>
<properties>
<sparkbundle.version>3.4</sparkbundle.version>
<spark.shim.module>spark34</spark.shim.module>
<spark.test.module>spark34</spark.test.module>
<sparkshim.artifactId>spark-sql-columnar-shims-spark34</sparkshim.artifactId>
<spark.version>3.4.1</spark.version>
<delta.version>2.2.0</delta.version>
<delta.binary.version>22</delta.binary.version>
Expand Down
22 changes: 21 additions & 1 deletion shims/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

<modules>
<module>common</module>
<module>${spark.shim.module}</module>
</modules>

<dependencies>
Expand Down Expand Up @@ -69,4 +68,25 @@
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>spark-3.2</id>
<modules>
<module>spark32</module>
</modules>
</profile>
<profile>
<id>spark-3.3</id>
<modules>
<module>spark33</module>
</modules>
</profile>
<profile>
<id>spark-3.4</id>
<modules>
<module>spark34</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit 047c993

Please sign in to comment.