We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4015d0 commit 86c88aeCopy full SHA for 86c88ae
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala
@@ -2063,17 +2063,4 @@ class JsonSuite extends QueryTest with SharedSQLContext with TestJsonData {
2063
)
2064
}
2065
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
- }
2079
0 commit comments