[ 
https://issues.apache.org/jira/browse/HUDI-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307102#comment-17307102
 ] 

Gary Li commented on HUDI-1685:
-------------------------------

[~akanungo] thanks for your contribution. I can't assign this ticket to you 
since you don't have contributor access yet. Resolving this issue for now since 
the PR was merged.

> 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)

Reply via email to