Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/7674#discussion_r35495354
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
---
@@ -589,21 +581,17 @@ class DataFrameSuite extends QueryTest with
SQLTestUtils {
}
test("createDataFrame(RDD[Row], StructType) should convert UDTs
(SPARK-6672)") {
- val rowRDD = ctx.sparkContext.parallelize(Seq(Row(new
ExamplePoint(1.0, 2.0))))
+ val rowRDD = sqlContext.sparkContext.parallelize(Seq(Row(new
ExamplePoint(1.0, 2.0))))
val schema = StructType(Array(StructField("point", new
ExamplePointUDT(), false)))
- val df = ctx.createDataFrame(rowRDD, schema)
+ val df = sqlContext.createDataFrame(rowRDD, schema)
df.rdd.collect()
}
test("SPARK-6899") {
--- End diff --
not your change, but can you update the description of this test case to
include a more meaningful message?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]