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

ExecuteSQL Stopped Returning FlowFile for non-ResultSet Queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      While most people use ExecuteSQL for Select statements, some JDBC drivers allow you to execute any kind of statement, including multi-statement requests.

      This allowed users to submit multiple SQL statements in one JDBC Statement and get back multiple result sets. This was part of the reason I wrote NIFI-3432.

      After having NIFI-3432 merged, I found that some request types no longer cause a FlowFile to be generated because there is no ResultSet. Also, if request types are mixed, such as an insert followed by a Select, then no ResultSet is returned because the first result is not a result set but an Update Count.

      Attachments

        Issue Links

          Activity

            People

              pwicks Peter Wicks
              pwicks Peter Wicks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: