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

   ### Describe the issue this Pull Request addresses
   
   Spark's DataFrameWriter and DataStreamWriter lower-case every option key 
before Hudi sees it. GLUE_CATALOG_ID used a camelCase key (catalogId), the only 
one of its kind in GlueCatalogSyncClientConfig, so a value set through 
.option() never matched and sync fell back to the caller's own AWS account with 
no warning.
   
   ### Summary and Changelog
   
   
   Rename the key to catalog_id, in line with its sibling keys, and add 
catalogId and catalogid as alternatives so both a verbatim caller and Spark's 
lower-cased path still resolve.
   
   ### Impact
   
   Primary key changed for glue catalog id config: 
hoodie.datasource.meta.sync.glue.catalogId -> 
hoodie.datasource.meta.sync.glue.catalog_id. Using either key will now work 
with Spark Writers
   
   ### Risk Level
   
   Low - Backwards compatibility with old key is maintained but exact-string 
key checks would fail
   
   ### Documentation Update
   
   Looks like config docs will get updated automatically on next build. Please 
let me know if there is something expected from me on this side.
   
   ### Contributor's checklist
   
   - [X] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [X] Enough context is provided in the sections above
   - [X] 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