Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-10479

JsonParser should not fail if the path for a nullable field has no match

    Details

    • Sprint:
      App Eng Sprint 4
    • Release Notes:
      Fixed an issue with the JSON parser failing if no data was present for a nullable field.
    • Rank:
      1|hzzqkv:

      Description

      Currently, if a path is not found in the Json input, the plugin fails by throwing a PathNotFoundException, and that fails the mapreduce and with that the pipeline.

      Several remarks:

      • if the field is nullable, then this should not be an error
      • if the field is not nullable, then perhaps the record should be dropped
      • an invalid record should never fail the entire pipeline.

        Attachments

          Activity

            People

            • Assignee:
              ananya Ananya Bhattacharya
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: