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

   ### Describe the issue this Pull Request addresses
   
   - AWSGlueCatalogSyncClient does not implement updateHoodieWriterVersion(), 
which was introduced as part of the metadata sync flow in Hudi 1.2.0. As a 
result, Glue sync fails with:
   ```
   java.lang.UnsupportedOperationException 
   at 
org.apache.hudi.sync.common.HoodieMetaSyncOperations.updateHoodieWriterVersion
   ```
   - Glue sync works correctly in Hudi 1.1.1 but fails in 
1.2.0-rc1/1.3.0-SNAPSHOT due to the newly introduced writer-version update call 
path.
   - This PR implements updateHoodieWriterVersion() in AWSGlueCatalogSyncClient 
to properly update the Hudi writer version in Glue table parameters and avoid 
the runtime failure.
   
   ### Summary and Changelog
   
   - This PR adds support for updating the Hudi writer version during AWS Glue 
sync operations.
   
   Changes included:
   - Implemented updateHoodieWriterVersion() in `AWSGlueCatalogSyncClient`
   
   ### Impact
   
   - Fixes Glue sync failures in Hudi 1.2.x/1.3.0-SNAPSHOT when using 
AwsGlueCatalogSyncTool
   
   ### Risk Level
   
   low
   
   ### Documentation Update
   
   none
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to