You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Gary Li (Jira)" <ji...@apache.org> on 2021/03/23 14:09:00 UTC
[jira] [Closed] (HUDI-1685) Current date should not be initialized
in the constructor
[ 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)