[
https://issues.apache.org/jira/browse/HUDI-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019882#comment-17019882
]
vinoyang commented on HUDI-561:
-------------------------------
[~liujinhui] Sounds Reasonable. Although we can use customized {{Transformer}}
to do the conversion, it is still not very convenient. Having a format config
option, it would be easier for us to handle different type of dates and times.
> hudi partition path config
> --------------------------
>
> Key: HUDI-561
> URL: https://issues.apache.org/jira/browse/HUDI-561
> Project: Apache Hudi (incubating)
> Issue Type: Improvement
> Components: DeltaStreamer
> Reporter: liujinhui
> Assignee: liujinhui
> Priority: Major
> Fix For: 0.5.1
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The current hudi partition is in accordance with
> hoodie.datasource.write.partitionpath.field = keyname
> example:
> keyname 2019/12/20
> Usually the time format may be yyyy-MM-dd HH: mm: ss or other
> yyyy-MM-dd HH: mm: ss cannot be partitioned correctly
> So I want to add configuration :
> hoodie.datasource.write.partitionpath.source.formate = yyyy-MM-dd HH: mm: ss
> hoodie.datasource.write.partitionpath.target.formate = yyyy / MM / dd
--
This message was sent by Atlassian Jira
(v8.3.4#803005)