Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-8717 Reader feature standardization - Phase 0
  3. HUDI-8634

Support schema on read in file group reader-based compaction

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Blocker
    • Resolution: Unresolved
    • None
    • 1.0.1
    • None

    Description

      Right now we disable the file group reader-based compaction for schema on read (see below code in HoodieCompactor). For example, this test fails if we enable the file group reader-based compaction for schema on read and remove the check `StringUtils.isNullOrEmpty(config.getInternalSchema())`: `Test alter column types`

      boolean useFileGroupReaderBasedCompaction = !metaClient.isMetadataTable()
          && config.getBooleanOrDefault(HoodieReaderConfig.FILE_GROUP_READER_ENABLED)
          && compactionHandler.supportsFileGroupReader()
          && !hasBootstrapFile(operations)
          && StringUtils.isNullOrEmpty(config.getInternalSchema()); 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yihua Y Ethan Guo
            yihua Y Ethan Guo
            sivabalan narayanan

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 3h Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - 3h Remaining Estimate - 2h Time Not Required
                3h

                Agile

                  Active Sprint:
                  Hudi 1.0.1 Sprint #2 (Jan) ends 29/Jan/25
                  Completed Sprints:
                  Hudi 1.0.1 Sprint #1 ended 07/Jan/25
                  Hudi 1.0.1 Sprint #2 (Jan) ended 15/Jan/25
                  View on Board

                  Slack

                    Issue deployment