Skip to content
Prev Previous commit
Next Next commit
chz test3
  • Loading branch information
Cazen committed Dec 28, 2015
commit 9b5bf958a944fca55c1978aa951c08cb81dd325e
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class JsonParsingOptionsSuite extends QueryTest with SharedSQLContext {
val rdd = sqlContext.sparkContext.parallelize(Seq(str))
val df = sqlContext.read.option("allowBackslashEscapingAnyCharacter", "false").json(rdd)

assert(df.schema.head.name == "name")
assert(df.schema.head.name == "_corrupt_record")
assert(df.first().getString(0) == "null")
}

Expand Down