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

Fokko Driesprong commented on HIVE-21737:
-----------------------------------------

Hi Chao, unfortunately, that's not possible. The getJsonProps would return a 
JsonNode: 
[https://github.com/apache/avro/pull/135/files#diff-e86ec7c2ab127130c9faf2786059caad4b257aecbee571c3f9ad0b136935c43cR151]

This JsonNode is from Jackson 1.0: org.codehaus.jackson.JsonNode And this 
library has been replaced by Jackson 2.x. Therefore we can't restore the 
function. The API shouldn't expose third party classes in the first place.

> 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