codope commented on issue #6552:
URL: https://github.com/apache/hudi/issues/6552#issuecomment-1233753449

   Configuration looks fine to me, except you don't really need to set 
`HoodieWriteConfig.COMBINE_BEFORE_INSERT.key() -> "true"`.
   Looking at the implementation of `getInsertValue`, an empty optional can 
result due to two scnearios:
   1. If the incoming record has a `_hoodie_is_deleted` field and it's value is 
set to true.
   2. If the incoming record is null/empty and hence the record byte length is 
0.
   My hunch is it may be the latter. For the failing batch, is it possible to 
log the dataframe and inspect the records?


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