File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/core/src/test/scala/org/apache/spark/sql/json Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import org.scalactic.Tolerance._
25
25
26
26
import org .apache .spark .sql .TestData ._
27
27
import org .apache .spark .sql .functions ._
28
- import org .apache .spark .sql .json .JsonRDD .compatibleType
28
+ import org .apache .spark .sql .json .JsonRDD2 .compatibleType
29
29
import org .apache .spark .sql .sources .LogicalRelation
30
30
import org .apache .spark .sql .test .TestSQLContext
31
31
import org .apache .spark .sql .test .TestSQLContext ._
@@ -1069,7 +1069,7 @@ class JsonSuite extends QueryTest {
1069
1069
1070
1070
test(" SPARK-6245 JsonRDD.inferSchema on empty RDD" ) {
1071
1071
// This is really a test that it doesn't throw an exception
1072
- val emptySchema = JsonRDD .inferSchema(empty, 1.0 , " " )
1072
+ val emptySchema = JsonRDD2 .inferSchema(empty, 1.0 , " " )
1073
1073
assert(StructType (Seq ()) === emptySchema)
1074
1074
}
1075
1075
You can’t perform that action at this time.
0 commit comments