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

Improvement For PutDatabaseRecord `Update Keys`, when we set sth like ${update.keys} but there is no 'update.keys' attribute of incoming flowfile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      For NIFI, If we set some EL to one processor, such as `${schema.name}` for PutDatabaseREcord, and the incoming flowfile does not have a `schema.name` attribute, then the result of PutDatabaseRecord property evalutes is Empty String(""), not NULL.

      So for PutDatabaseRecord `Update Keys`, If we set ${update.keys}, but some flowfiles has `update.keys` attribute , some not. And we will get wrong

      Attachments

        Issue Links

          Activity

            People

              Ku_Cheng ZhangCheng
              Ku_Cheng ZhangCheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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