MonsterChenzhuo commented on PR #1758:
URL: 
https://github.com/apache/incubator-paimon/pull/1758#issuecomment-1669001471

   > > It is not ideal that the KafkaSchema#getKafkaSchema() method could 
potentially execute the new CanalRecordParser operation without checking if 
records are available first. It is recommended to include a check for the 
presence of records before performing the new CanalRecordParser operation.
   > 
   > I cannot get it. What do you mean?
   If records is null, the process will proceed to create a new 
CanalRecordParser. What I mean is, before creating a new CanalRecordParser, 
there should be a check to ensure that records is not empty.
   <img width="996" alt="图片" 
src="https://github.com/apache/incubator-paimon/assets/60029759/d1dbbae7-bdf9-46e4-8e37-b2bf9524b5cd";>
   


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