Avro
  1. Avro
  2. AVRO-346

Add function to validate a datum against a schema

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: c
    • Labels:
      None

      Description

      This patch adds a new function

      int schema_datum_validate (avro_schema_t expected_schema, avro_datum_t datum);
      

      which validates a datum against a schema. Having this function will allow me to start on the datum write path.

      This patch also includes minor documentation updates, code cleanup, and changes all double tail queue macros to single tail queue.

      1. AVRO-346.patch
        41 kB
        Matt Massie

        Activity

          People

          • Assignee:
            Matt Massie
            Reporter:
            Matt Massie
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development