You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Kaminsky (JIRA)" <ji...@apache.org> on 2013/09/19 19:36:59 UTC

[jira] [Updated] (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:all-tabpanel ]

Douglas Kaminsky updated AVRO-1378:
-----------------------------------

    Description: 
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}
    
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira