luoyuxia created FLINK-28905:
--------------------------------
Summary: Fix HiveCatalog use wrong Flink type when get statistic
for Hive timestamp partition column
Key: FLINK-28905
URL: https://issues.apache.org/jira/browse/FLINK-28905
Project: Flink
Issue Type: Bug
Components: Connectors / Hive
Reporter: luoyuxia
Hive's timestamp type will be mapped to Flink's `TIMESTAMP_WITHOUT_TIME_ZONE`,
but
in method `HiveStatsUtil#getPartitionColumnStats`, the `
TIMESTAMP_WITH_LOCAL_TIME_ZONE` is mistaken as `TIMESTAMP_WITHOUT_TIME_ZONE`,
which will cause fail to get partition column's statistic when the partition
column is
So, we should change `TIMESTAMP_WITH_LOCAL_TIME_ZONE` to
`TIMESTAMP_WITHOUT_TIME_ZONE`
--
This message was sent by Atlassian Jira
(v8.20.10#820010)