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

Specification says Record field type can be record name but implementation allows any named type.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.6
    • 1.9.0
    • java, spec
    • None

    Description

      The specification for Record fields says that the type is

      A JSON object defining a schema, or a JSON string naming a record definition (required).

      AFAICT, the Java implementation allows for any named type.

      The specification should be updated to state any named type is allowed or the Java implementation should restrict what can be used. The former seems less likely to disturb current users.

      Attachments

        1. AVRO-1485_1.patch
          0.8 kB
          Nándor Kollár

        Activity

          People

            nkollar Nándor Kollár
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: