You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/21 15:47:00 UTC
[jira] [Updated] (FLINK-21894) Update type of
HiveTablePartition#partitionSpec from Map to Map
[ https://issues.apache.org/jira/browse/FLINK-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-21894:
-----------------------------------
Labels: pull-request-available (was: )
> Update type of HiveTablePartition#partitionSpec from Map<String, Object> to Map<String, String>
> -----------------------------------------------------------------------------------------------
>
> Key: FLINK-21894
> URL: https://issues.apache.org/jira/browse/FLINK-21894
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Hive
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Major
> Labels: pull-request-available
>
> In order to support watermark for Hive connector (FLINK-21871), we need to extract time from the partition string values. However, currently {{HiveTablePartition#partitionSpec}} uses {{Map<String, Object>}} type to store the partition spec which is hard convert back to string values. Therefore, I propose to use the raw {{Map<String, String>}} type instead which is easier to convert into {{Map<String, Object>}} when needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)