From ed37ae1e22fd109fd81519d4bf708c58d9761b78 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Tue, 23 Apr 2019 22:16:48 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Hive=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=92=8C=E6=96=87=E4=BB=B6=E6=A0=BC=E5=BC=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Hive数据类型和文件格式.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Hive数据类型和文件格式.md b/notes/Hive数据类型和文件格式.md index 9806c22..dcaec65 100644 --- a/notes/Hive数据类型和文件格式.md +++ b/notes/Hive数据类型和文件格式.md @@ -19,7 +19,7 @@ Hive表中的列支持以下基本数据类型: | **Floating point numbers(浮点型)** | FLOAT— 单精度浮点型
DOUBLE—双精度浮点型 | | **Fixed point numbers(定点数)** | DECIMAL—用户自定义精度定点数,比如2.4,3.68 | | **String types(字符串)** | STRING—指定字符集的字符序列
VARCHAR—具有最大长度限制的字符序列
CHAR—固定长度的字符序列 | -| **Date and time types
(日期时间类型)** | TIMESTAMP — 时间戳
TIMESTAMP WITH LOCAL TIME ZONE — 时间戳,纳秒精度
DATE—日期类型 | +| **Date and time types(日期时间类型)** | TIMESTAMP — 时间戳
TIMESTAMP WITH LOCAL TIME ZONE — 时间戳,纳秒精度
DATE—日期类型 | | **Binary types(二进制类型)** | BINARY—字节序列 | >TIMESTAMP 和 TIMESTAMP WITH LOCAL TIME ZONE 的区别: