Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chz test1
  • Loading branch information
Cazen committed Dec 28, 2015
commit 16997c794766befb57f277f3f379800624ec2c6f
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ 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 == "null")
assert(df.schema.head.name == "name")
assert(df.first().getString(0) == "null")
}

test("allowBackslashEscapingAnyCharacter on") {
Expand Down