hive的数据类型

基本类型

TINYINT

SMALLINT

INT

BIGINT

FLOAT

DOUBLE

DECIMAL (Note: Only available starting with Hive 0.11.0)

TIMESTAMP (Note: Only available starting with Hive 0.8.0)

BOOLEAN

STRING

BINARY

复合类型

arrays: ARRAY<data_type>

maps: MAP<primitive_type, data_type>

structs: STRUCT<col_name : data_type [COMMENT col_comment], ...>

union: UNIONTYPE<data_type, data_type, ...>

猜你喜欢

转载自java-doom.iteye.com/blog/1935163