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

Hudson commented on AVRO-2275:
------------------------------

SUCCESS: Integrated in Jenkins build AvroJava #653 (See 
[https://builds.apache.org/job/AvroJava/653/])
AVRO-2275 Refactor schema-resolution code from grammar-generation so we (thiru: 
[https://github.com/apache/avro/commit/39d959e1c6a1f339f03dab18289e47f27c10be7f])
* (edit) lang/java/avro/src/test/java/org/apache/avro/io/TestBlockingIO2.java
* (edit) lang/java/avro/src/test/java/org/apache/avro/io/TestValidatingIO.java
* (edit) lang/java/avro/src/test/java/org/apache/avro/io/TestResolvingIO.java
* (edit) 
lang/java/avro/src/test/java/org/apache/avro/reflect/TestNonStringMapKeys.java
* (edit) 
lang/java/avro/src/main/java/org/apache/avro/io/parsing/ResolvingGrammarGenerator.java
* (add) doc/src/content/mddocs/refactoring-resolution.md
* (add) lang/java/avro/src/main/java/org/apache/avro/Resolver.java
AVRO-2275 Some name cleanup, plus changes to make it easier to utilize (thiru: 
[https://github.com/apache/avro/commit/ea61af812478af7e6922b83e0818bf06b91c0052])
* (edit) lang/java/avro/src/main/java/org/apache/avro/Schema.java
* (edit) 
lang/java/avro/src/main/java/org/apache/avro/io/parsing/ResolvingGrammarGenerator.java
* (edit) lang/java/avro/src/main/java/org/apache/avro/Resolver.java
AVRO-2275 Support for user-supplied GenercData; cache default-values for 
(thiru: 
[https://github.com/apache/avro/commit/d39077d2f02ae0f11ad6c3af851c37567e70270f])
* (edit) lang/java/avro/src/main/java/org/apache/avro/Resolver.java
AVRO-2275 Apply aliases as part of resolution. (thiru: 
[https://github.com/apache/avro/commit/b5ef7f8683d23df96b7621ba1db4558424f35767])
* (edit) lang/java/avro/src/main/java/org/apache/avro/Resolver.java


> Refactor schema-resolution code from grammar-generation
> -------------------------------------------------------
>
>                 Key: AVRO-2275
>                 URL: https://issues.apache.org/jira/browse/AVRO-2275
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Raymie Stata
>            Assignee: Raymie Stata
>            Priority: Major
>
> In my own work to extend AVRO-2090, and also in AVRO-2247, an alternative 
> approach optimizing decoders, we were forced to re-implement Schema 
> resolution logic because it's currently embedded deeply in 
> ResolvingGrammarGenerator.  However, in the past the Avro community found it 
> hard to maintain multiple implementations of the schema resolution code, as 
> it is tedious and error-prone code.
> In this JIRA we've refactored the resolution code into a new class called 
> Resolver, and have rewritten ResolvingGrammarGenerator to be a client of this 
> class.  This rewrite passes the full regression suite, including bug-for-bug 
> compatibility with a few questionable resolutions rules, such as the "soft 
> matching" rule for record in unions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to