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 2db4662 commit d461552Copy full SHA for d461552
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JacksonParser.scala
@@ -266,11 +266,7 @@ object JacksonParser {
266
} else {
267
array.toArray[InternalRow](schema)
268
}
269
- case _ =>
270
- sys.error(
271
- s"Failed to parse record $record. Please make sure that each line of " +
272
- "the file (or each string in the RDD) is a valid JSON object or " +
273
- "an array of JSON objects.")
+ case _ => failedRecord(record)
274
275
276
} catch {
0 commit comments