You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "voonhous (via GitHub)" <gi...@apache.org> on 2026/07/03 08:51:08 UTC

[PR] refactor: Migrate reconcileSchema/reconcileSchemaRequirements to Hood… [hudi]

voonhous opened a new pull request, #19154:
URL: https://github.com/apache/hudi/pull/19154

   …ieSchema
   
   The reconcile adapters in AvroSchemaEvolutionUtils took Avro Schema in/out and immediately wrapped inputs via HoodieSchema.fromAvroSchema, while every caller already held a HoodieSchema and passed .toAvroSchema(). Migrate the three signatures to HoodieSchema:
   
   - reconcileSchema(Schema, InternalSchema) -> (HoodieSchema, InternalSchema)
   - reconcileSchema(Schema, Schema): Schema -> (HoodieSchema, HoodieSchema): HoodieSchema
   - reconcileSchemaRequirements(Schema, Schema): Schema -> HoodieSchema in/out
   
   Callers (BaseHoodieWriteClient, FileGroupReaderBasedMergeHandle, HoodieMergeHelper, HoodieSchemaUtils.scala x3, and the unit test) drop the .toAvroSchema()/.getAvroSchema() round-trips; the InternalSchema convert(...) boundary is unchanged. Drops the org.apache.avro.Schema import from AvroSchemaEvolutionUtils.
   
   Part of the Avro Schema -> HoodieSchema migration (#14263).
   
   ### Describe the issue this Pull Request addresses
   
   <!-- Either describe the issue inline here with motivation behind the changes 
        (or) link to an issue by including `Closes #<issue-number>` for context. 
        If this PR includes changes to the storage format, public APIs,
        or has breaking changes, use `!` (e.g., feat!: ...) -->
   
   ### Summary and Changelog
   
   <!-- Short, plain-English summary of what users gain or what changed in behavior.
        Followed by a detailed log of all the changes. Highlight if any code was copied. -->
   
   ### Impact
   
   <!-- Describe any public API or user-facing feature change or any performance impact. -->
   
   ### Risk Level
   
   <!-- Accepted values: none, low, medium or high. Other than `none`, explain the risk.
        If medium or high, explain what verification was done to mitigate the risks. -->
   
   ### Documentation Update
   
   <!-- Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".
   
   - The config description must be updated if new configs are added or the default value of the configs are changed.
   - Any new feature or user-facing change requires updating the Hudi website. Please follow the 
     [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make changes to the website. -->
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: Migrate reconcileSchema/reconcileSchemaRequirements to HoodieSchema [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19154:
URL: https://github.com/apache/hudi/pull/19154#issuecomment-4875319417

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15143",
       "triggerID" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea083b456743511f38babdbd8d5f819c7c276a77 Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15143) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: Migrate reconcileSchema/reconcileSchemaRequirements to HoodieSchema [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19154:
URL: https://github.com/apache/hudi/pull/19154#issuecomment-4874548451

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15143",
       "triggerID" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea083b456743511f38babdbd8d5f819c7c276a77 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=15143) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: Migrate reconcileSchema/reconcileSchemaRequirements to HoodieSchema [hudi]

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #19154:
URL: https://github.com/apache/hudi/pull/19154#issuecomment-4874513106

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ea083b456743511f38babdbd8d5f819c7c276a77",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * ea083b456743511f38babdbd8d5f819c7c276a77 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: Migrate reconcileSchema/reconcileSchemaRequirements to HoodieSchema [hudi]

Posted by "voonhous (via GitHub)" <gi...@apache.org>.
voonhous merged PR #19154:
URL: https://github.com/apache/hudi/pull/19154


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org