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 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