Data Types
Impala supports a set of data types that you can use for table columns, expression values, and function arguments and return values.
Note: Currently, Impala supports only scalar types, not composite or nested types. Accessing a table
containing any columns with unsupported types causes an error.
Continue reading:
- ARRAY Complex Type (CDH 5.5 or higher only)
- BIGINT Data Type
- BOOLEAN Data Type
- CHAR Data Type (CDH 5.2 or higher only)
- DECIMAL Data Type (CDH 5.1 or higher only)
- DOUBLE Data Type
- FLOAT Data Type
- INT Data Type
- MAP Complex Type (CDH 5.5 or higher only)
- REAL Data Type
- SMALLINT Data Type
- STRING Data Type
- STRUCT Complex Type (CDH 5.5 or higher only)
- TIMESTAMP Data Type
- TINYINT Data Type
- VARCHAR Data Type (CDH 5.2 or higher only)
- Complex Types (CDH 5.5 or higher only)
For the notation to write literals of each of these data types, see Literals.
See SQL Differences Between Impala and Hive for differences between Impala and Hive data types.
Page generated May 18, 2018.
<< Comments | ©2016 Cloudera, Inc. All rights reserved | ARRAY Complex Type (CDH 5.5 or higher only) >> |
Terms and Conditions Privacy Policy |