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

Upsert and Insert Ignore keys not quoted in PutDatabaseRecord

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.23.0
    • Extensions
    • None

    Description

      When update keys are used in PutDatabaseRecord (either by declaring them in the Update Keys property or being auto-determined from the database metadata), they are not being quoted correctly when 'Quote Column Identifiers' is set to 'true'. This happens for Upsert, Update, and Insert Ignore statements.

      This was fixed for Upsert in NIFI-8043 but a regression was introduced via NIFI-9607 when the quoting was removed inadvertently. Testing has revealed this issue exists for Upsert, Update, and Insert Ignore statements, so should be fixed for all of them.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m