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

Schemas with non-string custom attributes fail to compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11.2, 1.11.3
    • None
    • c++

    Description

      AVRO-3601 fixed the install issue, but any schema with non-string custom attributes now fails to compile with an exception.
      For example the following schema that cannot be compiled in 1.11.2, while it worked in earlier versions:

      {
        "type": "record",
        "name": "Test",
        "fields": [ {
          "name": "f1",
          "type": "string",
          "extra": {
            "custom1": "value",
            "custom2": true
          }
        } ]
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmdickson John Dickson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m