Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1247

ConvertJSONToSQL incorrectly handles UnmatchedFieldBehaviour for Update case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • Extensions
    • None

    Description

      ConvertJSONToSQL is handling UnmatchedFieldBehaviour inversely between Insert and Update. Specifically, Update is failing when columns are not present and "Ignore Unmatched Fields" is selected. Correct functionality would be to only fail when "Fail" is selected (as Insert does).

      This is due to a minor error between the two cases of generateUpdate and generateInsert where the value of ignoreUnmappedFields is checked

      Attachments

        Activity

          People

            markap14 Mark Payne
            Daniel Cave Daniel Cave
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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