Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3565

Add support for Avro UNION type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.2.0
    • Storage - Other
    • None

    Description

      Running a simple select * from an avro file fails.

      > select count(*) from `divolte.avro`;
      Error: SYSTEM ERROR: UnsupportedOperationException: Unimplemented type: UNION
      
      Fragment 0:0
      
      [Error Id: c7c1ed87-cd85-4146-844d-4addc227128b on abhi1:31010] (state=,code=0)
      

      Plan:

      00-00    Screen
      00-01      Project(*=[$0])
      00-02        Scan(groupscan=[EasyGroupScan [selectionRoot=maprfs:/tmp/divolte.avro, numFiles=1, columns=[`*`], files=[maprfs:///tmp/divolte.avro]]])
       

      Log & data file attached.

      Attachments

        1. divolte.avro
          3 kB
          Abhishek Girish
        2. drillbit.log.txt
          12 kB
          Abhishek Girish

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agirish Abhishek Girish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: