avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharad Agarwal (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-13) Use dictionary instead of if-else in validate
Date Wed, 15 Apr 2009 05:20:14 GMT

     [ https://issues.apache.org/jira/browse/AVRO-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sharad Agarwal updated AVRO-13:
-------------------------------

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

I just committed this!

> Use dictionary instead of if-else in validate
> ---------------------------------------------
>
>                 Key: AVRO-13
>                 URL: https://issues.apache.org/jira/browse/AVRO-13
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.0
>            Reporter: Sharad Agarwal
>            Assignee: Sharad Agarwal
>             Fix For: 1.0
>
>         Attachments: AVRO-13_v1.patch
>
>
> Currently validate in generic.py and reflect.py uses if-else. It would be efficient to
use dictionary with keys as schema types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message