[
https://issues.apache.org/jira/browse/NIFI-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Kawamura updated NIFI-4862:
--------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Status: Resolved (was: Patch Available)
Hi [~jles]
Thanks for reporting this and providing the patch. Matt submits another PR with
a different approach, that is using incoming FlowFile as an argument to
session.create method. This way, we can copy all attributes the incoming
FlowFile has.
I think this should be the default behavior when it has an incoming connection.
So that outgoing FlowFiles always carry incoming FlowFile attributes without
user to configure to do so. I merged Matt's PR, and it should meet your
requirement, too. Please feel free to reopen it if not the case. Thanks again!
> Copy original FlowFile attributes to output FlowFiles at SelectHiveQL
> processor
> -------------------------------------------------------------------------------
>
> Key: NIFI-4862
> URL: https://issues.apache.org/jira/browse/NIFI-4862
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.5.0
> Reporter: Jakub Leś
> Assignee: Matt Burgess
> Priority: Minor
> Fix For: 1.7.0
>
> Attachments:
> 0001-NIFI-4862-Add-Copy-original-attributtes-to-SelectHiv.patch
>
>
> Hi,
> Please add "Copy original attributes" to processor SelectHiveQL. Thanks to
> that we can use HttpRequest and HttpResponse to synchronize fetching query
> result in webservice.
>
> UPDATED:
> SelectHiveQL creates new FlowFiles from Hive query result sets. When it also
> has incoming FlowFiles, it should create new FlowFiles from the input
> FlowFile, so that it can copy original FlowFile attributes to output
> FlowFiles.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)