Uploaded image for project: 'SDC StreamSets Data Collector'
  1. SDC StreamSets Data Collector
  2. SDC-5692

JSON parser does not handle BigInteger java type (and possibly others)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1 (Blocker)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Doc Impact:
      No
    • Testing Status:
      Not Required

      Description

      Reproducer attached. This affects both the origin JSON data format, and the JSON parser processor. The processor is the worse of the two, as it causes the pipeline to fail outright. The bug causes a stage error in the origin.

      The root cause is in JsonCharDataParser.jsonToField, which includes an if-else string for type coercion, and does not include BigInteger. I'm willing to bet there are other types we should be covering here, but I don't know which ones are missing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adam Adam Kunicki
                Reporter:
                natty Jon Natkins
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support