[ 
https://issues.apache.org/jira/browse/NIFI-4409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176694#comment-16176694
 ] 

ASF subversion and git services commented on NIFI-4409:
-------------------------------------------------------

Commit 05b5dd14884c3ce27f9978f84b357397f1d6f20a in nifi's branch 
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=05b5dd1 ]

NIFI-4409: Ensure that when record schema is inherited, the schema from teh 
ResultSet is used instead of the schema from the RecordReader because the 
schema from the RecordReader mmay not match the actual data

Signed-off-by: Matthew Burgess <[email protected]>

This closes #2169


> 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)

Reply via email to