spark-instrumented-optimizer/R/pkg/inst/tests/testthat
Reynold Xin 890abd1279 [SPARK-14869][SQL] Don't mask exceptions in ResolveRelations
## What changes were proposed in this pull request?
In order to support running SQL directly on files, we added some code in ResolveRelations to catch the exception thrown by catalog.lookupRelation and ignore it. This unfortunately masks all the exceptions. This patch changes the logic to simply test the table's existence.

## How was this patch tested?
I manually hacked some bugs into Spark and made sure the exceptions were being propagated up.

Author: Reynold Xin <rxin@databricks.com>

Closes #12634 from rxin/SPARK-14869.
2016-04-23 12:49:36 -07:00
..
jarTest.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
packageInAJarTest.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_binary_function.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_binaryFile.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_broadcast.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_client.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_context.R [SPARK-14780] [R] Add setLogLevel to SparkR 2016-04-21 16:09:50 -07:00
test_includeJAR.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_includePackage.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_mllib.R [SPARK-13178] RRDD faces with concurrency issue in case of rdd.zip(rdd).count(). 2016-04-22 11:19:52 -07:00
test_parallelize_collect.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_rdd.R [SPARK-12792] [SPARKR] Refactor RRDD to support R UDF. 2016-03-28 21:51:02 -07:00
test_Serde.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_shuffle.R [SPARK-12327][SPARKR] fix code for lintr warning for commented code 2016-01-03 20:53:35 +05:30
test_sparkSQL.R [SPARK-14869][SQL] Don't mask exceptions in ResolveRelations 2016-04-23 12:49:36 -07:00
test_take.R [SPARK-12034][SPARKR] Eliminate warnings in SparkR test cases. 2015-12-07 10:38:17 -08:00
test_textFile.R [SPARK-13812][SPARKR] Fix SparkR lint-r test errors. 2016-03-13 14:30:44 -07:00
test_utils.R [SPARK-12224][SPARKR] R support for JDBC source 2016-04-19 15:59:47 -07:00