avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-13) Use dictionary instead of if-else in validate
Date Tue, 14 Apr 2009 18:07:15 GMT

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

Doug Cutting commented on AVRO-13:
----------------------------------

This looks fine to me.

> 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