[ 
https://issues.apache.org/jira/browse/NIFI-2518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415423#comment-15415423
 ] 

ASF subversion and git services commented on NIFI-2518:
-------------------------------------------------------

Commit 557d6365bf27ee2271cd9d3a147361acb6cc9c6c in nifi's branch 
refs/heads/master from [~mattyb149]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=557d636 ]

NIFI-2518: Added unit test showing issue

NIFI-2518: Added support for fractional seconds to 
AbstractDatabaseFetchProcessor

This closes #821


> AbstractDatabaseFetchProcessor Time/Timestamp Precision can causes perpetual 
> reads
> ----------------------------------------------------------------------------------
>
>                 Key: NIFI-2518
>                 URL: https://issues.apache.org/jira/browse/NIFI-2518
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 0.7.0
>            Reporter: Jeremy Dyer
>            Assignee: Matt Burgess
>             Fix For: 1.0.0
>
>
> The AbstractDatabaseFetchProcessor.java component has a toString method in 
> the return of input database timestamps. In that, if the precision is stored 
> lower than milliseconds, it can cause fetch issues. So, in the 
> QueryDatabaseTable processor for example, the incremental fetch when the 
> precision is at TimeStamp(6) versus TimeStamp(3) will lead to perpetual 
> reads. A potential work around is for the source database to either refrain 
> from using precision beyond TS(3) or to leverage a view for NiFi to consume 
> from.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to