diff options
author | Michael Armbrust <michael@databricks.com> | 2015-09-08 16:51:45 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-09-08 16:51:45 -0700 |
commit | 2143d592c802ec8f83a1eb5ce9b33ad8e48d7196 (patch) | |
tree | add8637754c40e25a0bce55f35e667956c68ec3f | |
parent | d637a666d5932002c8ce0bd23c06064fbfdc1c97 (diff) | |
download | spark-2143d592c802ec8f83a1eb5ce9b33ad8e48d7196.tar.gz spark-2143d592c802ec8f83a1eb5ce9b33ad8e48d7196.tar.bz2 spark-2143d592c802ec8f83a1eb5ce9b33ad8e48d7196.zip |
[HOTFIX] Fix build break caused by #8494
Author: Michael Armbrust <michael@databricks.com>
Closes #8659 from marmbrus/testBuildBreak.
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala index 84e66b50cf..356d4ff3fa 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala @@ -342,9 +342,9 @@ class CachedTableSuite extends QueryTest with SharedSQLContext { } test("SPARK-10327 Cache Table is not working while subquery has alias in its project list") { - ctx.sparkContext.parallelize((1, 1) :: (2, 2) :: Nil) + sparkContext.parallelize((1, 1) :: (2, 2) :: Nil) .toDF("key", "value").selectExpr("key", "value", "key+1").registerTempTable("abc") - ctx.cacheTable("abc") + sqlContext.cacheTable("abc") val sparkPlan = sql( """select a.key, b.key, c.key from |