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

Chao Sun commented on HIVE-21737:
---------------------------------

[~fokko] I'm not proposing to restore the API. Instead, I'm proposing to 
replace the API {{JsonProperties#getJsonProp}} with 
{{JsonProperties#getObjectProp}} (which is available since Avro 1.8) and then 
cast the returned object to the desired type in Hive. There are only 7 usages 
for {{getJsonProp}} in Hive and they are just used to retrieve 
scale/precision/maxLength for Decimal/Char types.

> Upgrade Avro to version 1.10.0
> ------------------------------
>
>                 Key: HIVE-21737
>                 URL: https://issues.apache.org/jira/browse/HIVE-21737
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Ismaël Mejía
>            Assignee: Fokko Driesprong
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 0001-HIVE-21737-Bump-Apache-Avro-to-1.9.2.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Avro >= 1.9.x bring a lot of fixes including a leaner version of Avro without 
> Jackson in the public API and Guava as a dependency. Worth the update.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to