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

Support DELETE verb for ConvertJSONToSQL

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      ConvertJSONToSQL supports INSERT and UPDATE verbs (and if NIFI-991 is implemented, the UPSERT verb), but it would be helpful in use cases such as Change Data Capture and Database Migration to be able to generate DELETE statements.

      I believe this would entail generating a conjunctive (aka AND) WHERE clause, using the sql.args attributes for the prepared statement.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mattyb149 Matt Burgess
                Reporter:
                mattyb149 Matt Burgess
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: