Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- links to