You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/07/27 21:10:05 UTC

[jira] [Created] (DRILL-3565) Reading an avro file throws UnsupportedOperationException: Unimplemented type: UNION

Abhishek Girish created DRILL-3565:
--------------------------------------

             Summary: Reading an avro file throws UnsupportedOperationException: Unimplemented type: UNION
                 Key: DRILL-3565
                 URL: https://issues.apache.org/jira/browse/DRILL-3565
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Other
    Affects Versions: 1.1.0, 1.2.0
            Reporter: Abhishek Girish
            Assignee: Jacques Nadeau


Running a simple select * from an avro file fails. 

{code:sql}
> 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)
{code}

Plan:
{code}
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]]])
 {code}

Log & data file attached. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Created] (DRILL-3565) Reading an avro file throws UnsupportedOperationException: Unimplemented type: UNION

Posted by andrew <an...@primer.org>.
There is a patch at DRILL-3458 that adds support for UNION types. I’ll review it now and see if we can get it in for the next release. 


> On Jul 27, 2015, at 12:10 PM, Abhishek Girish (JIRA) <ji...@apache.org> wrote:
> 
> Abhishek Girish created DRILL-3565:
> --------------------------------------
> 
>             Summary: Reading an avro file throws UnsupportedOperationException: Unimplemented type: UNION
>                 Key: DRILL-3565
>                 URL: https://issues.apache.org/jira/browse/DRILL-3565
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Other
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Abhishek Girish
>            Assignee: Jacques Nadeau
> 
> 
> Running a simple select * from an avro file fails. 
> 
> {code:sql}
>> 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)
> {code}
> 
> Plan:
> {code}
> 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]]])
> {code}
> 
> Log & data file attached. 
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)