Alaksiej Ščarbaty created NIFI-15808:
----------------------------------------
Summary: Invalid output field type in ToDate record path function
Key: NIFI-15808
URL: https://issues.apache.org/jira/browse/NIFI-15808
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Affects Versions: 2.8.0
Reporter: Alaksiej Ščarbaty
Assignee: Alaksiej Ščarbaty
The {{toDate()}} RecordPath function preserves the source field's data type
(e.g., STRING) on the returned {{FieldValue}} instead of using TIMESTAMP.
When used with {{UpdateRecord}} to write the field, the destination field
inherits the source's type, which is incorrect.
The output fields should always be of a TIMESTAMP type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)