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

ExecuteSQL doesn't set fragment.count attribute when Output Batch Size is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Extensions
    • None

    Description

      Hi,

      I am working with the ExecuteSQL processor and discovered an unexpected behavior. If I specify the attribute "Output Batch Size", I get the fragment.index on the outflowing flowing Flowfiles, but the fragment.count attribute is not set (according to the documentation).

      The behavior I would expect (in line with how merge processors work) is that the attribute fragment.count is just set at the last Flowfile for the batch. This would make it possible to merge all the batches together afterward.

      So my proposal, in short, is that the fragment.count should be set in the last Flowfile of a batch. 

      BR Florian

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tneumer Tamas Neumer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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