[
https://issues.apache.org/jira/browse/HUDI-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ankush Kanungo updated HUDI-1685:
---------------------------------
Description:
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
was: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.
> 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
>
> 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)