drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3565) Add support for Avro UNION type
Date Mon, 27 Jul 2015 20:12:04 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643308#comment-14643308
] 

Andrew commented on DRILL-3565:
-------------------------------

I think the patch linked from DRILL-3458 should resolve this. In my limited tests the patch
works, but I don't have a real data set in front of me at the moment to put it through the
paces. 

> Add support for Avro UNION type
> -------------------------------
>
>                 Key: DRILL-3565
>                 URL: https://issues.apache.org/jira/browse/DRILL-3565
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Abhishek Girish
>            Assignee: Jacques Nadeau
>         Attachments: divolte.avro, drillbit.log.txt
>
>
> 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)

Mime
View raw message