ziyanTOP opened a new pull request, #667:
URL: https://github.com/apache/doris-flink-connector/pull/667

   ## Problem Summary
   
   Debezium may serialize `fullDocument` as a JSON string (TextNode) instead of 
an ObjectNode. The current `extractAfterRow()` directly passes this TextNode to 
`JsonNodeExtractUtil.extractAfterRow()`, causing `ClassCastException` or 
deserialization errors.
   
   ## Changes
   
   Add a check in `MongoJsonDebeziumDataChange.extractAfterRow()`: if 
`dataNode` is textual, parse it with `ObjectMapper.readTree()` before 
extracting row data.
   
   Fixes #663


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to