Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19880

Fix ignore-parse-errors not work for the legacy JSON format

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              cxiiiiiii Xiao Cai
              MingZhangOk MingZhangOk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1m
                  1m
                  Remaining:
                  Remaining Estimate - 1m
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified