[
https://issues.apache.org/jira/browse/NIFI-15807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-15807.
-----------------------------------
Fix Version/s: 2.10.0
Resolution: Fixed
> Invalid output field type in ToString record path function
> ----------------------------------------------------------
>
> Key: NIFI-15807
> URL: https://issues.apache.org/jira/browse/NIFI-15807
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 2.8.0
> Reporter: Alaksiej Ščarbaty
> Assignee: Alaksiej Ščarbaty
> Priority: Major
> Fix For: 2.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The {{toString()}} RecordPath function preserves the source field's data type
> (e.g., LONG, INT) on the returned {{FieldValue}} instead of using STRING.
> When used with {{UpdateRecord}} to write the field, the destination field
> inherits the source's numeric type, which is incorrect.
> The output fields should always be of a STRING type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)