Specifies the parser how to handle corrupt JSON records. You can set the value to one of the following modes:
DROPMALFORMED. The parser ignores all corrupted records. Default mode.
PERMISSIVE. The parser accepts non-standard fields as nulls in corrupted records.
FAILFAST. The parser throws an exception when it encounters a corrupted record and the Spark application goes down.
Specifies whether the parser can read a multiline record in a JSON file. You can set the value to true or false. Default is false.
Applies only to Hadoop distributions that use Spark version 2.2.x.