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

[jira] [Created] (NIFI-8104) PutKudu Processor Not Correctly Ingesting Microsecond Timestamps

Ivan created NIFI-8104:
--------------------------

             Summary: PutKudu Processor Not Correctly Ingesting Microsecond Timestamps
                 Key: NIFI-8104
                 URL: https://issues.apache.org/jira/browse/NIFI-8104
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.12.1
         Environment: OS: RHEL 7
Java: Oracle Java 1.8.0_144
Kudu Version: 1.13.0
            Reporter: Ivan


Kudu stores timestamps as microseconds since epoch, however, the PutKudu Processor can only ingest timestamps with millisecond granularity. The default conversion in the toTimestamp function assumes values in millis. It is not possible to use a DateFormat to specify how the value should be parsed because java's SimpleDateFormat does not support a lower granularity than milliseconds.



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