[ 
https://issues.apache.org/jira/browse/NIFI-14296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-14296:
------------------------------------
    Affects Version/s: 2.2.0
                       2.0.0
               Status: Patch Available  (was: In Progress)

> Record Timestamp object conversion can lose nanosecond precision
> ----------------------------------------------------------------
>
>                 Key: NIFI-14296
>                 URL: https://issues.apache.org/jira/browse/NIFI-14296
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.2.0, 2.0.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Field Converter abstraction for Record Data Type conversion handles a 
> variety of input object types, with specific Converter implementations for 
> java.sql.Timestamp and java.time.LocalDateTime. The Converter for 
> java.time.LocalDateTime can lose nanosecond precision for input objects of 
> type java.util.Date and subclasses due to using the millisecond time for 
> conversion to java.time.LocalDateTime. Since java.sql.Timestamp is a subclass 
> of java.util.Date, but includes nanosecond precision, the conversion process 
> should be corrected to preserve nanosecond precision in the output 
> java.time.LocalDateTime.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to