deepakpanda93 commented on issue #14259: URL: https://github.com/apache/hudi/issues/14259#issuecomment-3540706866
Hello @furquan1993 I have tried adding some records and while capturing them it shows encoded values. - It seems not to be a bug, Because for INSERT, there is no "before", so Hudi logs the entire new row as a binary-coded "insert payload". - In DATA_BEFORE mode, INSERT has no before, so Hudi writes a compact binary payload. - The solution is to update this setting in writes: ```"hoodie.table.cdc.supplemental.logging.mode": "DATA_BEFORE_AFTER"``` - In DATA_BEFORE_AFTER mode, Hudi logs a proper structured record for after even for INSERT. [HUDI_CDC_ENCODE_Update.txt](https://github.com/user-attachments/files/23578369/HUDI_CDC_ENCODE_Update.txt) -- 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]
