Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1685

Current date should not be initialized in the constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akanungo Ankush Kanungo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: