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

Hive CHAR not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.7.0
    • None

    Description

      It doesn’t look like Drill 1.1.0 supports the Hive CHAR type?

      In Hive:

      create table development.foo
      (
      bad CHAR(10)
      );

      And then in sqlline:

      > use `hive.development`;
      > select * from foo;
      Error: PARSE ERROR: Unsupported Hive data type CHAR.

      Following Hive data types are supported in Drill INFORMATION_SCHEMA:
      BOOLEAN, BYTE, SHORT, INT, LONG, FLOAT, DOUBLE, DATE, TIMESTAMP,
      BINARY, DECIMAL, STRING, VARCHAR, LIST, MAP, STRUCT and UNION
      [Error Id: 58bf3940-3c09-4ad2-8f52-d052dffd4b17 on dtpg05:31010] (state=,code=0)

      This was originally found when getting failures trying to connect via JDBS using Squirrel. We have the Hive plugin enabled with tables using CHAR.

      Attachments

        Activity

          People

            arina Arina Ielchiieva
            pitdingo Nathaniel Auvil
            Krystal Krystal
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: