aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rwxr-xr-xdev/run-tests.py4
-rw-r--r--dev/sparktestsupport/modules.py12
2 files changed, 14 insertions, 2 deletions
diff --git a/dev/run-tests.py b/dev/run-tests.py
index cbe347274e..291f821c7f 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -110,8 +110,8 @@ def determine_modules_to_test(changed_modules):
['graphx', 'examples']
>>> x = [x.name for x in determine_modules_to_test([modules.sql])]
>>> x # doctest: +NORMALIZE_WHITESPACE
- ['sql', 'hive', 'mllib', 'examples', 'hive-thriftserver', 'pyspark-sql', 'sparkr',
- 'pyspark-mllib', 'pyspark-ml']
+ ['sql', 'hive', 'mllib', 'examples', 'hive-thriftserver', 'hivecontext-compatibility',
+ 'pyspark-sql', 'sparkr', 'pyspark-mllib', 'pyspark-ml']
"""
modules_to_test = set()
for module in changed_modules:
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index c844bcff7e..6d47733ec1 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -151,6 +151,18 @@ hive_thriftserver = Module(
)
+hivecontext_compatibility = Module(
+ name="hivecontext-compatibility",
+ dependencies=[hive],
+ source_file_regexes=[
+ "sql/hivecontext-compatibility/",
+ ],
+ sbt_test_goals=[
+ "hivecontext-compatibility/test"
+ ]
+)
+
+
sketch = Module(
name="sketch",
dependencies=[],