spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshro...@apache.org
Subject spark git commit: [SPARK-12477][HOTIFX] Fix test compilation in branch-1.5
Date Sat, 26 Dec 2015 01:42:31 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.5 e7e0540eb -> 86161a4f7


[SPARK-12477][HOTIFX] Fix test compilation in branch-1.5

This fixes a test compilation break in branch-1.5; the break was introduced by #10429.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #10478 from JoshRosen/SPARK-12477-branch-1.5-compile-fix.


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

Branch: refs/heads/branch-1.5
Commit: 86161a4f742ac37aebb064d76eca93873b8f5a4e
Parents: e7e0540
Author: Josh Rosen <joshrosen@databricks.com>
Authored: Fri Dec 25 17:41:59 2015 -0800
Committer: Josh Rosen <joshrosen@databricks.com>
Committed: Fri Dec 25 17:41:59 2015 -0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/86161a4f/sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
b/sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
index 06d711f..0b9e8d2 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/DataFrameComplexTypeSuite.scala
@@ -45,7 +45,7 @@ class DataFrameComplexTypeSuite extends QueryTest with SharedSQLContext
{
   }
 
   test("SPARK-12477 accessing null element in array field") {
-    val df = sparkContext.parallelize(Seq((Seq("val1", null, "val2"),
+    val df = sqlContext.sparkContext.parallelize(Seq((Seq("val1", null, "val2"),
       Seq(Some(1), None, Some(2))))).toDF("s", "i")
     val nullStringRow = df.selectExpr("s[1]").collect()(0)
     assert(nullStringRow == org.apache.spark.sql.Row(null))


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


Mime
View raw message