You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/03/22 13:59:00 UTC

[jira] [Closed] (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 ]

Jark Wu closed FLINK-21894.
---------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

Fixed in master: c0cf91ce6fbe55f9f1df1fb1626a50e79cb9fc50

> 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
>             Fix For: 1.13.0
>
>
> 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)