[prev in list] [next in list] [prev in thread] [next in thread]
List: avro-dev
Subject: [jira] [Commented] (AVRO-1545) python bindings for avro discard customized type information for prim
From: "Dustin Spicuzza (JIRA)" <jira () apache ! org>
Date: 2014-11-19 22:13:34
Message-ID: JIRA.12727362.1405440422000.539468.1416435214587 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AVRO-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218586#comment-14218586 \
]
Dustin Spicuzza commented on AVRO-1545:
---------------------------------------
It would be nice if this got merged.
> python bindings for avro discard customized type information for primitive types
> --------------------------------------------------------------------------------
>
> Key: AVRO-1545
> URL: https://issues.apache.org/jira/browse/AVRO-1545
> Project: Avro
> Issue Type: Bug
> Components: python
> Affects Versions: 1.7.6
> Reporter: Dustin Spicuzza
> Attachments: types.diff
>
>
> Given the following avsc file:
> {
> "type" : "record",
> "name" : "BrokenRecord",
> "namespace" : "whatever",
> "fields" : [ {
> "name" : "a_string",
> "type" : {
> "type" : "string",
> "avro.java.string" : "String"
> }
> } ]
> }
> The python schema parser discards the avro.java.string marker, which breaks \
> interoperability with java. In schema.py, it discards the other property \
> information and compresses the type down to just a 'string'. Patch attached against \
> the 1.7.6 release.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic