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

[jira] [Created] (FLINK-21894) Update type of HiveTablePartition#partitionSpec from Map to Map

Jark Wu created FLINK-21894:
-------------------------------

             Summary: 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


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)