You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Igor Guzenko (Jira)" <ji...@apache.org> on 2019/10/09 09:22:00 UTC

[jira] [Resolved] (DRILL-3587) Select hive's struct data gives IndexOutOfBoundsException instead of unsupported error

     [ https://issues.apache.org/jira/browse/DRILL-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Guzenko resolved DRILL-3587.
---------------------------------
    Fix Version/s:     (was: Future)
                   1.17.0
       Resolution: Fixed

Fixed by adding support for struct type in DRILL-7253. 

> Select hive's struct data gives IndexOutOfBoundsException instead of unsupported error
> --------------------------------------------------------------------------------------
>
>                 Key: DRILL-3587
>                 URL: https://issues.apache.org/jira/browse/DRILL-3587
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Hive
>    Affects Versions: 1.2.0
>            Reporter: Krystal
>            Assignee: Igor Guzenko
>            Priority: Major
>             Fix For: 1.17.0
>
>
> I have a hive table that has a STRUCT data column.
> hive> select c15 from alltypes;
> OK
> NULL
> {"r":null,"s":null}
> {"r":1,"s":{"a":2,"b":"x"}}
> From drill:
> select c15 from alltypes;
> Error: SYSTEM ERROR: IndexOutOfBoundsException: index (1) must be less than size (1)
> Since drill currently does not support hive struct data type, drill should display user friendly error that hive struct data type is not supported.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)