avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Pigott (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-457) add tools that read/write xml records from/to avro data files
Date Tue, 19 Aug 2014 00:13:20 GMT

     [ https://issues.apache.org/jira/browse/AVRO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Pigott updated AVRO-457:
--------------------------------

    Attachment: AVRO-457.patch

Uploading AVRO-457.patch.

This change is quite large, so I thought I'd stop here and submit, even if it doesn't completely
follow the spec I proposed five weeks ago.

Notable Differences:
* I did not add support to automatically generate an XML Schema from an Avro Schema.  XmlDatumWriter
encodes the XML Schema locations, and XmlDatumReader uses that to reconstruct the XML document.

* Avro maps are automatically created if an element has exactly one non-optional ID attribute.
 (I did not make it an optional feature.)

* Enums are automatically created if all of the enumeration values are valid Avro enum symbols.
 (This was not in the spec.)

* I unfortunately did not have much success with JRegex for evaluating XML regular expressions.
 As a result, regular-expression validation is not part of this release.

* I added XMLUnit to the dependencies for validating generated XML documents.

I saw there is a "Submit Patch" button ... is that what I should use instead?  I tried it
but I did not see a way to upload the patch file.

> 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
>            Reporter: Doug Cutting
>              Labels: gsoc
>         Attachments: AVRO-457.patch
>
>
> 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.2#6252)

Mime
View raw message