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

Derek Straka updated NIFI-4951:
-------------------------------
    Assignee:     (was: Derek Straka)
      Status: Patch Available  (was: In Progress)

> 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)

Reply via email to