基础类型(Primitive Types)
- 整型(Integers)
- TINYINT——1byte有符号整数(-128——127)
- SMALLINT——2 byte有符号整数(-32768——32767)
- INT——4 byte有符号整数(-2147483648——2147483647)
- BIGINT——8 byte有符号整数(-9223372036854775808——9223372036854775807)
- 布尔型(Boolean type)
- BOOLEAN——TRUE/FALSE
- 浮点型(Floating point numbers)
- FLOAT——4byte单精度
- DOUBLE——8byte双精度
- 定点型(Fixed point numbers)
- DECIMAL——a fixed point value of user defined scale and precision
- 字符串类型(String types)
- STRING——sequence of characters in a specified character set
- VARCHAR——sequence of characters in a specified character set with a maximum length (HIVE 0.12.0开始支持)
- CHAR——sequence of c
- 整型(Integers)
HIVE 数据类型(Type System)
最新推荐文章于 2024-04-07 09:03:54 发布