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

Patch Nifi with Upsert functions for PutDatabaseRecord processor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 2.0.0-M1, 1.22.0
    • Extensions
    • Patch

    Description

      Since Phoenix doesn't support the SQL statement INSERT you have to use a process like: ConvertAttributesToJSON->ConvertJSONToSQL in Insert mode->ReplaceText to replace "INSERT" with "UPSERT" -> PutSQL (See: https://community.hortonworks.com/questions/40561/nifi-phoenix-processor.html)

      With this patch you can choose to use UPSERT directly.

      Attachments

        Issue Links

          Activity

            People

              Lehel44 Lehel Boér
              kamund Karl Amundsson
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: