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

Mark Payne updated NIFI-14296:
------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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.0.0, 2.2.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 2.3.0
>
>          Time Spent: 0.5h
>  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