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

QueryRecord should pass to the Record Writer the schema based on the ResultSet, not the record as it was read

    XMLWordPrintableJSON

    Details

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

      Description

      When a Record is read for QueryRecord, the schema is passed to the writer as the 'read schema'. However, the resultant data is likely not to follow that schema because of the SELECT clause. We should instead provide the schema that is provided by the ResultSet to the writer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: