[
https://issues.apache.org/jira/browse/HUDI-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Li closed HUDI-1685.
-------------------------
> Current date should not be initialized in the constructor
> ---------------------------------------------------------
>
> Key: HUDI-1685
> URL: https://issues.apache.org/jira/browse/HUDI-1685
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Ankush Kanungo
> Priority: Major
> Labels: pull-request-available
>
> The current date within `DatePartitionPathSelector` should not be initialized
> in the constructor, as for long-running/continuous jobs it should be updated
> for every batch.
> https://github.com/apache/hudi/blob/master/hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/DatePartitionPathSelector.java#L110
--
This message was sent by Atlassian Jira
(v8.3.4#803005)