You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2020/03/05 10:24:00 UTC
[jira] [Created] (NIFI-7230) Improve EL to support
microseconds/nanoseconds precision
Pierre Villard created NIFI-7230:
------------------------------------
Summary: 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
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.3.4#803005)