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

Remove dependency on Flex/Bison

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2
    • c++
    • None

    Description

      The current schema parser uses Flex/Bison. Making Flex/Bison work with CMake seems difficult. Moreover trying to parse Json directly into in-memory schema object appears hard. The code is not friendly for extensions to implement new features such as namespace, documentation comments etc.

      We already have a Json parser in Avro C++ codebase, but is hidden inside the JsonCodec. Bringing it out and implementing a schema parser on top of that (similar to the Java and C# implementations) would fix the problem. The forthcoming patch does just that.

      Attachments

        1. AVRO-956.patch
          132 kB
          Thiruvalluvan M. G.
        2. AVRO-956-2.patch
          132 kB
          Thiruvalluvan M. G.

        Activity

          People

            thiru_mg Thiruvalluvan M. G.
            thiru_mg Thiruvalluvan M. G.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: