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

Hudson commented on AVRO-1545:
------------------------------

SUCCESS: Integrated in AvroJava #506 (See 
[https://builds.apache.org/job/AvroJava/506/])
AVRO-1545. Python. Fix to retain schema properties on primitive types.  
Contributed by Dustin Spicuzza. (cutting: rev 1646362)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/py/src/avro/schema.py
* /avro/trunk/lang/py/test/test_schema.py
* /avro/trunk/lang/py3/avro/schema.py
* /avro/trunk/lang/py3/avro/tests/test_schema.py


> 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
>            Assignee: Dustin Spicuzza
>             Fix For: 1.8.0
>
>         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)

Reply via email to