aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests.py
diff options
context:
space:
mode:
authorfelixcheung <felixcheung_m@hotmail.com>2016-01-04 22:32:07 -0800
committerReynold Xin <rxin@databricks.com>2016-01-04 22:32:07 -0800
commitcc4d5229c98a589da76a4d5e5fdc5ea92385183b (patch)
tree450ee4286632f96c991d0cfd9b67f1509529c68f /dev/run-tests.py
parentb634901bb28070ac5d9a24a9bc7b7640472a54e2 (diff)
downloadspark-cc4d5229c98a589da76a4d5e5fdc5ea92385183b.tar.gz
spark-cc4d5229c98a589da76a4d5e5fdc5ea92385183b.tar.bz2
spark-cc4d5229c98a589da76a4d5e5fdc5ea92385183b.zip
[SPARK-12625][SPARKR][SQL] replace R usage of Spark SQL deprecated API
rxin davies shivaram Took save mode from my PR #10480, and move everything to writer methods. This is related to PR #10559 - [x] it seems jsonRDD() is broken, need to investigate - this is not a public API though; will look into some more tonight. (fixed) Author: felixcheung <felixcheung_m@hotmail.com> Closes #10584 from felixcheung/rremovedeprecated.
Diffstat (limited to 'dev/run-tests.py')
-rwxr-xr-xdev/run-tests.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev/run-tests.py b/dev/run-tests.py
index acc9450586..8726889cbc 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -425,13 +425,12 @@ def run_build_tests():
def run_sparkr_tests():
- # set_title_and_block("Running SparkR tests", "BLOCK_SPARKR_UNIT_TESTS")
+ set_title_and_block("Running SparkR tests", "BLOCK_SPARKR_UNIT_TESTS")
- # if which("R"):
- # run_cmd([os.path.join(SPARK_HOME, "R", "run-tests.sh")])
- # else:
- # print("Ignoring SparkR tests as R was not found in PATH")
- pass
+ if which("R"):
+ run_cmd([os.path.join(SPARK_HOME, "R", "run-tests.sh")])
+ else:
+ print("Ignoring SparkR tests as R was not found in PATH")
def parse_opts():