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

Joe Witt updated NIFI-7714:
---------------------------
    Fix Version/s: 1.12.1

> 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
>          Components: Extensions
>            Reporter: Denes Arvay
>            Assignee: Denes Arvay
>            Priority: Major
>             Fix For: 1.13.0, 1.12.1
>
>          Time Spent: 1h 50m
>  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)

Reply via email to