[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 ] Ismaël Mejía updated AVRO-2007: --- Fix Version/s: (was: 1.9.0) > 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: Apache Avro > Issue Type: Improvement > Components: c >Affects Versions: 1.8.1 >Reporter: Eliyahu Machluf >Priority: Minor > > 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 (v8.3.4#803005)
[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 ] Daniel Kulp updated AVRO-2007: -- Resolution: Duplicate Fix Version/s: (was: 1.8.1) 1.9.0 Status: Resolved (was: Patch Available) Duplicate of AVRO-1528 > 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: Apache Avro > Issue Type: Improvement > Components: c >Affects Versions: 1.8.1 >Reporter: Eliyahu Machluf >Priority: Minor > Fix For: 1.9.0 > > > 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 (v7.6.3#76005)
[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)