You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Dustin Spicuzza (JIRA)" <ji...@apache.org> on 2014/09/23 21:07:34 UTC

[jira] [Commented] (AVRO-1378) Python: custom properties not retained on primitive schemas

    [ https://issues.apache.org/jira/browse/AVRO-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145265#comment-14145265 ] 

Dustin Spicuzza commented on AVRO-1378:
---------------------------------------

I believe AVRO-1545 will fix this problem. 

> Python: custom properties not retained on primitive schemas
> -----------------------------------------------------------
>
>                 Key: AVRO-1378
>                 URL: https://issues.apache.org/jira/browse/AVRO-1378
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.7.5
>            Reporter: Douglas Kaminsky
>
> Example:
> {code}
> {"type": "long", "date": "true"}
> {code}
> This is a valid, parseable schema, but in Python implementation:
> {code}
> >>> import avro.schema
> >>> sch = avro.schema.parse('{"type": "long", "date": "true"}')
> >>> sch
> <avro.schema.PrimitiveSchema object at 0x0D071510>
> >>> sch.props
> {'type': u'long'}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)