hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swarnim Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10708) Add SchemaCompatibility check to AvroDeserializer
Date Wed, 09 Sep 2015 04:32:45 GMT

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

Swarnim Kulkarni commented on HIVE-10708:
-----------------------------------------

Decided to add a simple flag to turn this compatibility check on. Keeping this flag off by
default for backwards compatibility.

> Add SchemaCompatibility check to AvroDeserializer
> -------------------------------------------------
>
>                 Key: HIVE-10708
>                 URL: https://issues.apache.org/jira/browse/HIVE-10708
>             Project: Hive
>          Issue Type: Improvement
>          Components: Serializers/Deserializers
>            Reporter: Swarnim Kulkarni
>            Assignee: Swarnim Kulkarni
>
> Avro provides a nice API[1] to check if the given reader schema can be used to deserialize
the data given its writer schema. I think it would be super nice to integrate this into the
AvroDeserializer so that we can fail fast and gracefully if there is a bad schema compatibility
> [1] https://avro.apache.org/docs/1.7.7/api/java/org/apache/avro/SchemaCompatibility.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message