You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Trump (Jira)" <ji...@apache.org> on 2020/01/13 15:35:00 UTC

[jira] [Created] (NIFI-7013) Recordpath handles timestamp microseconds unexpectedly

Adam Trump created NIFI-7013:
--------------------------------

             Summary: Recordpath handles timestamp microseconds unexpectedly
                 Key: NIFI-7013
                 URL: https://issues.apache.org/jira/browse/NIFI-7013
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.9.2, 1.10.0
            Reporter: Adam Trump


if updateRecord gets a record with a field containing a timestamp-formatted string containing more than 3 decimal places, the leftmost digits are added to the other fields.
 in a test, updateRecord configured with the property "/timestamp" containing {{format(toDate(/timestamp, "yyyy-MM-dd HH:mm:ss.SSSSSS"), "yy-MMM-dd HH:mm:ss.SSSSSS")}}
 recieved the record


id,timestamp
 1,2019-12-31 13:23:45.123456


 and updated it to


id,timestamp
 1,19-Dec-31 13:25:48.000456



--
This message was sent by Atlassian Jira
(v8.3.4#803005)