[jira] [Created] (FLINK-21894) Update type of HiveTablePartition#partitionSpec from Map<String, Object> to Map<String, String>

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21894) Update type of HiveTablePartition#partitionSpec from Map<String, Object> to Map<String, String>

Shang Yuanchun (Jira)
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)