You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by bl...@apache.org on 2019/08/16 21:01:39 UTC
[flink] branch release-1.9 updated: [hotfix][hive][doc] update
document of TIMESTAMP, TIMESTAMP_WITHOUT_TIME_ZONE data mapping
This is an automated email from the ASF dual-hosted git repository.
bli pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.9 by this push:
new c5733fc [hotfix][hive][doc] update document of TIMESTAMP, TIMESTAMP_WITHOUT_TIME_ZONE data mapping
c5733fc is described below
commit c5733fc616acd378250aabad41cf66a5017ed3d8
Author: bowen.li <bo...@gmail.com>
AuthorDate: Wed Aug 14 20:49:15 2019 -0700
[hotfix][hive][doc] update document of TIMESTAMP, TIMESTAMP_WITHOUT_TIME_ZONE data mapping
---
docs/dev/table/hive/index.md | 9 +++------
docs/dev/table/hive/index.zh.md | 9 +++------
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/docs/dev/table/hive/index.md b/docs/dev/table/hive/index.md
index 927f323..d528986 100644
--- a/docs/dev/table/hive/index.md
+++ b/docs/dev/table/hive/index.md
@@ -234,10 +234,6 @@ Currently `HiveCatalog` supports most Flink data types with the following mappin
<td class="text-center">DATE</td>
</tr>
<tr>
- <td class="text-center">TIMESTAMP_WITHOUT_TIME_ZONE</td>
- <td class="text-center">TIMESTAMP</td>
- </tr>
- <tr>
<td class="text-center">BYTES</td>
<td class="text-center">BINARY</td>
</tr>
@@ -263,7 +259,8 @@ The following limitations in Hive's data types impact the mapping between Flink
* `CHAR(p)` has a maximum length of 255
* `VARCHAR(p)` has a maximum length of 65535
* Hive's `MAP` only supports primitive key types while Flink's `MAP` can be any data type
+* Hive's `UNION` type is not supported
* Flink's `INTERVAL` type cannot be mapped to Hive `INTERVAL` type
-* Flink's `TIMESTAMP_WITH_TIME_ZONE` is not supported by Hive
-* Flink's `TIMESTAMP_WITH_LOCAL_TIME_ZONE` is not supported by Hive
+* Flink's `TIMESTAMP_WITH_TIME_ZONE` and `TIMESTAMP_WITH_LOCAL_TIME_ZONE` are not supported by Hive
+* Flink's `TIMESTAMP_WITHOUT_TIME_ZONE` type cannot be mapped to Hive's `TIMESTAMP` type due to precision difference.
* Flink's `MULTISET` is not supported by Hive
diff --git a/docs/dev/table/hive/index.zh.md b/docs/dev/table/hive/index.zh.md
index eaffaf6..8be80b9 100644
--- a/docs/dev/table/hive/index.zh.md
+++ b/docs/dev/table/hive/index.zh.md
@@ -234,10 +234,6 @@ Currently `HiveCatalog` supports most Flink data types with the following mappin
<td class="text-center">DATE</td>
</tr>
<tr>
- <td class="text-center">TIMESTAMP_WITHOUT_TIME_ZONE</td>
- <td class="text-center">TIMESTAMP</td>
- </tr>
- <tr>
<td class="text-center">BYTES</td>
<td class="text-center">BINARY</td>
</tr>
@@ -263,7 +259,8 @@ The following limitations in Hive's data types impact the mapping between Flink
* `CHAR(p)` has a maximum length of 255
* `VARCHAR(p)` has a maximum length of 65535
* Hive's `MAP` only supports primitive key types while Flink's `MAP` can be any data type
+* Hive's `UNION` type is not supported
* Flink's `INTERVAL` type cannot be mapped to Hive `INTERVAL` type
-* Flink's `TIMESTAMP_WITH_TIME_ZONE` is not supported by Hive
-* Flink's `TIMESTAMP_WITH_LOCAL_TIME_ZONE` is not supported by Hive
+* Flink's `TIMESTAMP_WITH_TIME_ZONE` and `TIMESTAMP_WITH_LOCAL_TIME_ZONE` are not supported by Hive
+* Flink's `TIMESTAMP_WITHOUT_TIME_ZONE` type cannot be mapped to Hive's `TIMESTAMP` type due to precision difference.
* Flink's `MULTISET` is not supported by Hive