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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: