You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Eliyahu Machluf (JIRA)" <ji...@apache.org> on 2017/03/16 09:34:41 UTC
[jira] [Updated] (AVRO-2007) for avro-c enable getting enum size
(i.e. number of symbols at enum schema)
[ https://issues.apache.org/jira/browse/AVRO-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eliyahu Machluf updated AVRO-2007:
----------------------------------
Status: Patch Available (was: Open)
I committed a pull request for it
https://github.com/apache/avro/pull/167
> for avro-c enable getting enum size (i.e. number of symbols at enum schema)
> ---------------------------------------------------------------------------
>
> Key: AVRO-2007
> URL: https://issues.apache.org/jira/browse/AVRO-2007
> Project: Avro
> Issue Type: Improvement
> Components: c
> Affects Versions: 1.8.1
> Reporter: Eliyahu Machluf
> Priority: Minor
> Fix For: 1.8.1
>
>
> Avro-c library stores internaly enum as int value, there is no validation, when setting an enum value, it match the schema.
> Therefore, I want to enable getting enum size (i.e. number of symbols at enum schema), in order to enable validating (when using the instance) that the value is at enum range.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)