[
https://issues.apache.org/jira/browse/AVRO-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199925#comment-15199925
]
ASF GitHub Bot commented on AVRO-1723:
--------------------------------------
GitHub user zolyfarkas opened a pull request:
https://github.com/apache/avro/pull/79
AVRO-1723
Implementation for IDL forward declarations... actually declaration order
does not matter anymore...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zolyfarkas/avro trunk-AVRO-1723
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/79.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #79
----
commit 1c5205ef3f1516fa5f3a323057139bffd5758182
Author: Zoltan Farkas <[email protected]>
Date: 2015-11-18T22:44:50Z
[add] AVRO-1723 and AVRO-1667
commit 1f6fa7b79efde2eb999de34334b686a77b23e46a
Author: Zoltan Farkas <[email protected]>
Date: 2015-11-18T22:44:50Z
[add] AVRO-1723 and AVRO-1667
commit 57bea12e3a0860958b2060cab4f1193391584839
Author: Zoltan Farkas <[email protected]>
Date: 2015-12-09T22:28:36Z
Merge origin/trunk-AVRO-1723 into trunk-AVRO-1723
commit fd6c4228fbecc6eff3e3ecd5ee27d2ceb46339ff
Author: Zoltan Farkas <[email protected]>
Date: 2015-11-18T22:44:50Z
[add] AVRO-1723 and AVRO-1667
commit c299da64ee53de57ea34e589b858d7fe8ada72fd
Author: Zoltan Farkas <[email protected]>
Date: 2016-03-17T14:03:24Z
Merge origin/trunk-AVRO-1723 into trunk-AVRO-1723
Conflicts:
lang/java/avro/src/main/java/org/apache/avro/io/parsing/Symbol.java
commit 3ff1fa8cac828bfaabd082cb82d7ea3a3827f02f
Author: Zoltan Farkas <[email protected]>
Date: 2016-03-17T14:18:02Z
Merge origin/trunk-AVRO-1723 into trunk-AVRO-1723
Conflicts:
lang/java/avro/src/main/java/org/apache/avro/io/parsing/Symbol.java
commit ce16a3fc9e493d50425ecc697e397c486e9c62dd
Author: Zoltan Farkas <[email protected]>
Date: 2016-03-17T14:28:44Z
Merge origin/trunk-AVRO-1723 into trunk-AVRO-1723
Conflicts:
lang/java/avro/src/main/java/org/apache/avro/io/parsing/Symbol.java
----
> Add support for forward declarations in avro IDL
> ------------------------------------------------
>
> Key: AVRO-1723
> URL: https://issues.apache.org/jira/browse/AVRO-1723
> Project: Avro
> Issue Type: Improvement
> Affects Versions: 1.8.0
> Reporter: Zoltan Farkas
> Attachments: AVRO-1723.patch
>
>
> Currently Recursive data structures like:
> record SampleNode {
> int count = 0;
> array<SamplePair> samples = [];
> }
> record SamplePair {
> string name;
> SampleNode node;
> }
> It is not possible to declare in IDL,
> however it is possible to declare in avsc (with fix from
> https://issues.apache.org/jira/browse/AVRO-1667 )
> It is actually not complicated to implement, here is some detail on a
> possible implementation:
> https://github.com/zolyfarkas/avro/commit/210c50105717149f3daa39b8d4160b8548b8e363
> This would close a capability gap with google protocol buffers...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)