Hi Bram and Ryan,
IDREF is a reference to an existing ID field. Effectively, if you have
an attribute of type ID, the value is guaranteed to be unique to the whole
file. My code tries to be smart about this and builds an Avro map - that
could be part of the trouble.
IDs and IDREFs are strings.
Mike
On Thu, Jan 28, 2016 at 12:01 PM Ryan Blue (JIRA) <[email protected]> wrote:
>
> [
> https://issues.apache.org/jira/browse/AVRO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121891#comment-15121891
> ]
>
> Ryan Blue commented on AVRO-457:
> --------------------------------
>
> Sounds reasonable to me. I don't know what an IDREF is either. What do you
> think the output should be instead?
>
> > add tools that read/write xml records from/to avro data files
> > -------------------------------------------------------------
> >
> > Key: AVRO-457
> > URL: https://issues.apache.org/jira/browse/AVRO-457
> > Project: Avro
> > Issue Type: New Feature
> > Components: java
> > Affects Versions: 1.7.8
> > Reporter: Doug Cutting
> > Labels: gsoc
> > Attachments: AVRO-457.patch, AVRO-457.patch, AVRO-457.patch,
> AVRO-457.patch, ebucore.json
> >
> >
> > It might be useful to have command-line tools that can read & write
> arbitrary XML data from & to Avro data files.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>