You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Lehel Boér (Jira)" <ji...@apache.org> on 2022/03/21 21:49:00 UTC

[jira] [Assigned] (NIFI-7230) Improve EL to support microseconds/nanoseconds precision

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

Lehel Boér reassigned NIFI-7230:
--------------------------------

    Assignee: Lehel Boér  (was: Mani Jindal)

> 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
>
> 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.1#820001)