Krystal created DRILL-3587:
------------------------------

             Summary: 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: Venki Korukanti


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
(v6.3.4#6332)

Reply via email to