zhang-arvin opened a new pull request, #9336:
URL: https://github.com/apache/paimon/pull/9336

   ## What changes were proposed in this pull request?
   
   Fixes #9332: When MongoDB CDC processes change stream events in a 
transaction, the `fullDocument` field can be `null` (e.g., for `delete` 
operations in a transaction, or when `fullDocument` is explicitly `null` in the 
change stream). 
   
   Prior to this fix, `getExtractRow()` would call `fullDocument.get(...)` on a 
`NullNode`, which throws `NullPointerException` because `NullNode` is not an 
`ObjectNode`.
   
   ## How was this patch tested?
   
   - Existing unit tests pass
   - Manual verification with MongoDB change stream events containing null 
`fullDocument`
   
   ## Does this pull request potentially affect one of the following parts?
   
   - Dependencies: no
   - The public API: no
   - The runtime per-record code path: no
   
   ## Documentation
   
   - Does this pull request introduce a new feature? no


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