[jira] [Created] (FLINK-19880) flink-json The validation and incoming parameters do not match

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19880) flink-json The validation and incoming parameters do not match

Shang Yuanchun (Jira)
MingZhangOk created FLINK-19880:
-----------------------------------

             Summary: flink-json The validation and incoming parameters do not match
                 Key: FLINK-19880
                 URL: https://issues.apache.org/jira/browse/FLINK-19880
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.11.2
            Reporter: MingZhangOk
             Fix For: 1.11.2


when I call
 new Json(). ignoreParseErrors (true)
 When used to ignore exceptions, the following exceptions always occur:
 org.apache.flink. formats.json.JsonRowFormatFactory
 Unsupported property keys:
 format.ignore-parse-errors
 Modify this line of code to solve my problem .

 Add a line of code after 52 lines in this class(org.apache.flink.formats.json.JsonRowFormatFactory):
properties.add(JsonValidator.FORMAT_IGNORE_PARSE_ERRORS);


 First time to participate in flink submission code, do not understand what rules, directly submitted, sorry



--
This message was sent by Atlassian Jira
(v8.3.4#803005)