Skip to content

Commit 3529e98

Browse files
committed
move hive module to hive profile
1 parent f51ff4e commit 3529e98

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

dev/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ CURRENT_BLOCK=$BLOCK_SPARK_UNIT_TESTS
167167
# If the Spark SQL tests are enabled, run the tests with the Hive profiles enabled.
168168
# This must be a single argument, as it is.
169169
if [ -n "$_RUN_SQL_TESTS" ]; then
170-
SBT_MAVEN_PROFILES_ARGS="$SBT_MAVEN_PROFILES_ARGS -Phive -Phive-0.12.0"
170+
SBT_MAVEN_PROFILES_ARGS="$SBT_MAVEN_PROFILES_ARGS -Phive"
171171
fi
172172

173173
if [ -n "$_SQL_TESTS_ONLY" ]; then

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@
9494
<module>streaming</module>
9595
<module>sql/catalyst</module>
9696
<module>sql/core</module>
97-
<module>sql/hive</module>
98-
<module>sql/hive-thriftserver</module>
9997
<module>repl</module>
10098
<module>assembly</module>
10199
<module>external/twitter</module>
@@ -1313,6 +1311,16 @@
13131311
</dependency>
13141312
</dependencies>
13151313
</profile>
1314+
<profile>
1315+
<id>hive</id>
1316+
<activation>
1317+
<activeByDefault>false</activeByDefault>
1318+
</activation>
1319+
<modules>
1320+
<module>sql/hive</module>
1321+
<module>sql/hive-thriftserver</module>
1322+
</modules>
1323+
</profile>
13161324
<profile>
13171325
<id>hive-0.12.0</id>
13181326
<activation>

0 commit comments

Comments
 (0)