Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-2007

for avro-c enable getting enum size (i.e. number of symbols at enum schema)

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.1
    • Component/s: c
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        EliyahuMachluf Eliyahu Machluf added a comment -

        I committed a pull request for it
        https://github.com/apache/avro/pull/167

        Show
        EliyahuMachluf Eliyahu Machluf added a comment - I committed a pull request for it https://github.com/apache/avro/pull/167
        Hide
        bw123 Ben Walsh added a comment -
        Show
        bw123 Ben Walsh added a comment - This is a duplicate of https://issues.apache.org/jira/browse/AVRO-1528

          People

          • Assignee:
            Unassigned
            Reporter:
            EliyahuMachluf Eliyahu Machluf
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development