[
https://issues.apache.org/jira/browse/NIFI-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241148#comment-16241148
]
ASF GitHub Bot commented on NIFI-4575:
--------------------------------------
Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2255
@mattyb149 do you think you could take a look at this? It's only a 3 line
change to one of the conversion APIs in the Record API package. The scenario
where it came up was Mongo's client API returns a java.util.Date object for
dates and to convert a Mongo date to a Record API timestamp field, I had to
enable a conversion of java.util.Date to a java.sql.Timestamp.
> Add ability to convert from java.*.Date to Timestamp in DataTypeUtils
> ---------------------------------------------------------------------
>
> Key: NIFI-4575
> URL: https://issues.apache.org/jira/browse/NIFI-4575
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Mike Thomsen
> Assignee: Mike Thomsen
> Priority: Minor
>
> The MongoDB client returns java.util.Date objects for date fields. This
> update is required to be able to make a Mongo date field able to convert into
> a Timestamp field if a Record API-implementing processor needs to do that.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)