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

ExecuteSQL processors fail with incoming flow file and Output Batch Size set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Extensions
    • Labels:
      None

      Description

      When Output Batch Size is set to a value other than zero, then ExecuteSQL and ExecuteSQLRecord fail if there is an incoming connection. This is due to not handling the incoming flow file in the first session.commit() after a new child flow file has been transferred. Since a child has been transferred and there is no "original" relationship, the incoming flow file should be removed from the session before the first commit.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: