From c44d140cae99d0b880e6d25f158125ad3adc6a05 Mon Sep 17 00:00:00 2001 From: Andrew Or Date: Wed, 23 Mar 2016 22:21:15 -0700 Subject: Revert "[SPARK-14014][SQL] Replace existing catalog with SessionCatalog" This reverts commit 5dfc01976bb0d72489620b4f32cc12d620bb6260. --- R/pkg/inst/tests/testthat/test_sparkSQL.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'R') diff --git a/R/pkg/inst/tests/testthat/test_sparkSQL.R b/R/pkg/inst/tests/testthat/test_sparkSQL.R index eef365b42e..63acbadfa6 100644 --- a/R/pkg/inst/tests/testthat/test_sparkSQL.R +++ b/R/pkg/inst/tests/testthat/test_sparkSQL.R @@ -1817,8 +1817,7 @@ test_that("approxQuantile() on a DataFrame", { test_that("SQL error message is returned from JVM", { retError <- tryCatch(sql(sqlContext, "select * from blah"), error = function(e) e) - expect_equal(grepl("Table not found", retError), TRUE) - expect_equal(grepl("blah", retError), TRUE) + expect_equal(grepl("Table not found: blah", retError), TRUE) }) irisDF <- suppressWarnings(createDataFrame(sqlContext, iris)) -- cgit v1.2.3