Skip to content

Commit 86c88ae

Browse files
committed
remove the test case
1 parent d4015d0 commit 86c88ae

File tree

1 file changed

+0
-13
lines changed
  • sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json

1 file changed

+0
-13
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,17 +2063,4 @@ class JsonSuite extends QueryTest with SharedSQLContext with TestJsonData {
20632063
)
20642064
}
20652065
}
2066-
2067-
test("json in UTF-16 with BOM") {
2068-
val fileName = "json-tests/utf16WithBOM.json"
2069-
val testFile = Thread.currentThread().getContextClassLoader.getResource(fileName).toString
2070-
val schema = new StructType().add("firstName", StringType).add("lastName", StringType)
2071-
val jsonDF = spark.read.schema(schema)
2072-
.option("mode", "DROPMALFORMED")
2073-
.json(testFile)
2074-
2075-
checkAnswer(jsonDF, Seq(
2076-
Row("Chris", "Baird"), Row("Doug", "Rood")
2077-
))
2078-
}
20792066
}

0 commit comments

Comments
 (0)