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

invalid code in IDL doc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • doc
    • None
    • Reviewed

    Description

      The following IDL code is invalid:
      record MyRecord {
      @java-class("java.util.ArrayList") array string myStrings;
      }

      First, "-" can't be used in a annotation name. Second, "array string" is the wrong way to denote array. Valid code should be:
      record MyRecord {
      @java_class("java.util.ArrayList") array<string> myStrings;
      }

      Attachments

        1. AVRO-681.patch
          0.6 kB
          Jingguo Yao

        Activity

          People

            yaojingguo Jingguo Yao
            yaojingguo Jingguo Yao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: