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

   This issue was reviewed as part of the JIRA-migrated backlog triage.
   
   Findings: This appears to be fixed by #7342 (HUDI-5302, merged 2022-12-03), 
with further hardening in #12120 (HUDI-8403). The naive recordKey.split(",") 
shown in the report no longer exists; 
BucketIdentifier.getHashKeysUsingIndexFields (BucketIdentifier.java:52-53) now 
delegates to KeyGenUtils.extractRecordKeysByFields, which parses complex keys 
by searching for the record-key separator in reverse so comma-containing values 
are handled. Covered by TestKeyGenUtils.testExtractRecordKeys.
   
   If you're still hitting this on a recent version, please reopen with repro 
steps.
   
   Verified on Hudi 1.2.0 (Spark 3.4): a bucket-index table with record-key 
values containing commas upserts and reads back correctly (no duplicate, 
correct update), confirmed with a reproducer.
   
   Closing as fixed.


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