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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
