You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/08/10 17:17:01 UTC

[jira] [Updated] (NIFI-7714) QueryCassandra loses precision when converting timestamps to JSON

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

Matt Burgess updated NIFI-7714:
-------------------------------
    Status: Patch Available  (was: Open)

> QueryCassandra loses precision when converting timestamps to JSON
> -----------------------------------------------------------------
>
>                 Key: NIFI-7714
>                 URL: https://issues.apache.org/jira/browse/NIFI-7714
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Denes Arvay
>            Assignee: Denes Arvay
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When QueryCassandra converts java.util.Date to JSON string value [1] the formatted string does not contain milliseconds.
>  JSON date fields should be formatted conforming to the ISO 8601 standard, i.e. {{yyyy-MM-dd HH:mm:ss.SSSZ}}
>  
> I suggest adding a new property to the QueryCassandra processor to be able to change the date format string.
>  
> [1] [https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-cassandra-bundle/nifi-cassandra-processors/src/main/java/org/apache/nifi/processors/cassandra/QueryCassandra.java#L473]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)