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

allow for mutual recursion in type definitions for all languages

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This idea is to allow AVRO to load schemas with recursion described like this:

      {"name": "User", "type": "record", "fields": [{"name": "current_status", "type": "Status"}]}
      {"name": "Status", "type": "record", "fields": [{"name": "author", "type": "User"}]}
      
      • Java : AVRO-530 is ready to checked (PR ready).
      • Rust : Unit test show that it already works (May be better to add a unit test in a PR).

      For others languages (C, C++, C#, Python ...);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clesaec Christophe Le Saec
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: