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

Select hive's struct data gives IndexOutOfBoundsException instead of unsupported error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.17.0
    • Storage - Hive
    • None

    Description

      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.

      Attachments

        Activity

          People

            ihuzenko Igor Guzenko
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: