hive常用ddl操作

This commit is contained in:
罗祥
2019-04-25 17:18:30 +08:00
parent 8b2643e996
commit 3d72b4350b
7 changed files with 333 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ Hive表中的列支持以下基本数据类型
| **Integers整型** | TINYINT—1字节的有符号整数 <br/>SMALLINT—2字节的有符号整数<br/> INT—4字节的有符号整数<br/> BIGINT—8字节的有符号整数 |
| **Boolean布尔型** | BOOLEAN—TRUE/FALSE |
| **Floating point numbers浮点型** | FLOAT— 单精度浮点型 <br/>DOUBLE—双精度浮点型 |
| **Fixed point numbers定点数** | DECIMAL—用户自定义精度定点数比如2.43.68 |
| **Fixed point numbers定点数** | DECIMAL—用户自定义精度定点数比如DECIMAL(7,2) |
| **String types字符串** | STRING—指定字符集的字符序列<br/> VARCHAR—具有最大长度限制的字符序列 <br/>CHAR—固定长度的字符序列 |
| **Date and time types日期时间类型** | TIMESTAMP — 时间戳 <br/>TIMESTAMP WITH LOCAL TIME ZONE — 时间戳,纳秒精度<br/> DATE—日期类型 |
| **Binary types二进制类型** | BINARY—字节序列 |