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

Re: [I] non partition table in hudi-filnk module should also respect KEYGEN_CLASS_NAME in conf [hudi]

rangareddy commented on issue #15404:
URL: https://github.com/apache/hudi/issues/15404#issuecomment-5066226171

   This issue was reviewed as part of the JIRA-migrated backlog triage.
   
   Findings: This is confirmed still present on current master. In `hudi-flink` `HoodieTableFactory.setupHoodieKeyOptions`, when a table has no partition path (non-partitioned table), the code unconditionally resets `hoodie.datasource.write.keygenerator.class` to `NonpartitionedAvroKeyGenerator`, so an explicitly configured `KEYGEN_CLASS_NAME` is ignored. The proposed fix, PR #6567 (guarding the keygen auto-tweak block behind a `StringUtils.isNullOrEmpty(KEYGEN_CLASS_NAME)` check), was closed without being merged on 2024-09-13, so the fix never landed.
   
   Disposition: valid bug, reproducible on current master by code inspection. The fix is small but requires a rebase/rework of the closed PR plus a regression test. Keeping this open and tracking it for a fix.


-- 
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