You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2015/09/09 01:51:48 UTC

spark git commit: [HOTFIX] Fix build break caused by #8494

Repository: spark
Updated Branches:
  refs/heads/master d637a666d -> 2143d592c


[HOTFIX] Fix build break caused by #8494

Author: Michael Armbrust <mi...@databricks.com>

Closes #8659 from marmbrus/testBuildBreak.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2143d592
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2143d592
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2143d592

Branch: refs/heads/master
Commit: 2143d592c802ec8f83a1eb5ce9b33ad8e48d7196
Parents: d637a66
Author: Michael Armbrust <mi...@databricks.com>
Authored: Tue Sep 8 16:51:45 2015 -0700
Committer: Michael Armbrust <mi...@databricks.com>
Committed: Tue Sep 8 16:51:45 2015 -0700

----------------------------------------------------------------------
 .../src/test/scala/org/apache/spark/sql/CachedTableSuite.scala   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2143d592/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
----------------------------------------------------------------------
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 84e66b5..356d4ff 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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org