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

Tamas Palfy updated NIFI-7230:
------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Improve EL to support microseconds/nanoseconds precision
> --------------------------------------------------------
>
>                 Key: NIFI-7230
>                 URL: https://issues.apache.org/jira/browse/NIFI-7230
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Pierre Villard
>            Assignee: Lehel Boér
>            Priority: Major
>             Fix For: 1.17.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Using the EL, there is no way to convert a date like "2020-02-26 
> 20:23:53.439134" into its numerical representation (timestamp with 
> microsecond/nanosecond precision).
> At the moment, if trying to do:
>  
> {code:java}
> ${ts:toDate("yyyy-MM-dd HH:mm:ss.SSSSSS"):toNumber()} 
> {code}
> It'll give a timestamp with milliseconds precision.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to