[
https://issues.apache.org/jira/browse/NIFI-4951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-4951:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> convertToAvroObject does not utilize AvroTypeUtil when trying to convert
> Date, Time, or Timestamps
> --------------------------------------------------------------------------------------------------
>
> Key: NIFI-4951
> URL: https://issues.apache.org/jira/browse/NIFI-4951
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Derek Straka
> Priority: Major
>
> Currently, AvroTypeUtil::convertToAvroObject assumes that the logical types
> have already been converted into their internal representation. While this
> may sometimes be the case, it would be useful to allow String->Logical type
> conversion. The feature can be added by using the appropriate
> DataTypeUtils::to<Logical Type> method rather than blindly attempting to use
> the underlying type. The DataTypeUtils already performs the integral type
> parsing, so the existing functionality remains intact.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)