[
https://issues.apache.org/jira/browse/NIFI-4409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176693#comment-16176693
]
ASF GitHub Bot commented on NIFI-4409:
--------------------------------------
Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/2169
+1 LGTM, built and ran unit tests, and tried two queries with different
result sets, verified the different schemas and values were output correctly.
Thanks for the improvement! Merging to master
> QueryRecord should pass to the Record Writer the schema based on the
> ResultSet, not the record as it was read
> -------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-4409
> URL: https://issues.apache.org/jira/browse/NIFI-4409
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.4.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)