Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5907

SchemaTypeAdapter should be able to parse Avro schema

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1
    • Component/s: API
    • Labels:
    • Release Notes:
      Fixed an issue where parsing of an AVRO schema was failing when it included optional fields such as 'doc' or 'default'.
    • Rank:
      1|hzzcmv:

      Description

      Deserializing schema from a serialized avro schema fails because there are more fields than expected (particularly "doc" and "default"). These fields should be ignored, especially because there are places where we set the property DatasetProperties.SCHEMA to a serialized avro schema.

        Attachments

          Activity

            People

            • Assignee:
              sagar Sagar Kapare
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: