avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Blue (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1878) ResolvingGrammarGenerator doesn't handle aliases
Date Mon, 11 Jul 2016 19:14:11 GMT

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

Ryan Blue commented on AVRO-1878:
---------------------------------

Thanks for the background. I knew I was missing something when it didn't look like renames
were implemented.

I've added a [test case that fails on master|https://github.com/apache/avro/pull/106/commits/5807fbfb403806fb6481611a9c7214b16ab7840b].
It renames a field and adds the old name as an alias in the new schema. Is this supported?

> ResolvingGrammarGenerator doesn't handle aliases
> ------------------------------------------------
>
>                 Key: AVRO-1878
>                 URL: https://issues.apache.org/jira/browse/AVRO-1878
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.8.1
>            Reporter: Ryan Blue
>            Assignee: Ryan Blue
>             Fix For: 1.8.2
>
>
> While testing AVRO-1704, I tested schema evolution using an aliased field and  found
that the ResolvingGrammarGenerator doesn't support field aliases.



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

Mime
View raw message