You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (Created) (JIRA)" <ji...@apache.org> on 2011/10/12 21:53:11 UTC

[jira] [Created] (AVRO-924) permit reading & writing arbitrary JSON as binary Avro data

permit reading & writing arbitrary JSON as binary Avro data
-----------------------------------------------------------

                 Key: AVRO-924
                 URL: https://issues.apache.org/jira/browse/AVRO-924
             Project: Avro
          Issue Type: New Feature
          Components: java
            Reporter: Doug Cutting
            Assignee: Doug Cutting
             Fix For: 1.6.0


It would be useful to permit reading and writing arbitrary JSON data as binary Avro data.  JSON is a popular data interchange format but can be rather big and slow to process in some cases, e.g., for numeric data.  Avro can provide a smaller and faster to process binary format for JSON data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-924) permit reading & writing arbitrary JSON as binary Avro data

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-924:
------------------------------

    Status: Patch Available  (was: Open)

Unless there are objections, I'll commit this tomorrow.
                
> permit reading & writing arbitrary JSON as binary Avro data
> -----------------------------------------------------------
>
>                 Key: AVRO-924
>                 URL: https://issues.apache.org/jira/browse/AVRO-924
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.6.0
>
>         Attachments: AVRO-924.patch
>
>
> It would be useful to permit reading and writing arbitrary JSON data as binary Avro data.  JSON is a popular data interchange format but can be rather big and slow to process in some cases, e.g., for numeric data.  Avro can provide a smaller and faster to process binary format for JSON data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-924) permit reading & writing arbitrary JSON as binary Avro data

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-924:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I committed this.
                
> permit reading & writing arbitrary JSON as binary Avro data
> -----------------------------------------------------------
>
>                 Key: AVRO-924
>                 URL: https://issues.apache.org/jira/browse/AVRO-924
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.6.0
>
>         Attachments: AVRO-924.patch
>
>
> It would be useful to permit reading and writing arbitrary JSON data as binary Avro data.  JSON is a popular data interchange format but can be rather big and slow to process in some cases, e.g., for numeric data.  Avro can provide a smaller and faster to process binary format for JSON data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-924) permit reading & writing arbitrary JSON as binary Avro data

Posted by "Doug Cutting (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-924:
------------------------------

    Attachment: AVRO-924.patch

Here's a patch that implements this, including tests.  It uses Jackson's JsonNode as the in-memory representation for JSON data.  It provides a DatumReader and DatumWriter for JsonNode.
                
> permit reading & writing arbitrary JSON as binary Avro data
> -----------------------------------------------------------
>
>                 Key: AVRO-924
>                 URL: https://issues.apache.org/jira/browse/AVRO-924
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.6.0
>
>         Attachments: AVRO-924.patch
>
>
> It would be useful to permit reading and writing arbitrary JSON data as binary Avro data.  JSON is a popular data interchange format but can be rather big and slow to process in some cases, e.g., for numeric data.  Avro can provide a smaller and faster to process binary format for JSON data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira