[
https://issues.apache.org/jira/browse/NIFI-14127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alon Harmon updated NIFI-14127:
-------------------------------
Description:
Today in order to extract value from content of flow file to the attributes we
can only use EvaluateXPath or EvaluateJsonPath which are both textual formats,
if i have a flow file in avro for example and i want to extract a value from
its content to the attributes i will have to convert it to json or xml and use
the above processors which in case of a bytes typed field is impossible.
I suggest to allow that QueryRecord will be able to pass the results (by
config) to the attributes (in case its a one row record)
Alternatively a new dedicated processor will also solve the problem.
I'd love to here your thoughts :)
Environment: QueryRecord
> Allow choice for QueryRecord output to be to attributes
> -------------------------------------------------------
>
> Key: NIFI-14127
> URL: https://issues.apache.org/jira/browse/NIFI-14127
> Project: Apache NiFi
> Issue Type: New Feature
> Components: NiFi Registry
> Affects Versions: 2.1.0, 1.28.1
> Environment: QueryRecord
> Reporter: Alon Harmon
> Priority: Major
>
> Today in order to extract value from content of flow file to the attributes
> we can only use EvaluateXPath or EvaluateJsonPath which are both textual
> formats, if i have a flow file in avro for example and i want to extract a
> value from its content to the attributes i will have to convert it to json or
> xml and use the above processors which in case of a bytes typed field is
> impossible.
> I suggest to allow that QueryRecord will be able to pass the results (by
> config) to the attributes (in case its a one row record)
> Alternatively a new dedicated processor will also solve the problem.
> I'd love to here your thoughts :)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)