MALFORMED_RECORD_IN_PARSING error condition
Malformed records are detected in record parsing: <badRecord>.
Parse Mode: <failFastMode>. To process malformed records as null result, try setting the option 'mode' as 'PERMISSIVE'.
CANNOT_PARSE_JSON_ARRAYS_AS_STRUCTS
Parsing JSON arrays as structs is forbidden.
CANNOT_PARSE_STRING_AS_DATATYPE
Cannot parse the value <fieldValue> of the field <fieldName> as target spark data type <targetType> from the input type <inputType>.