liunaijie commented on PR #7871:
URL: https://github.com/apache/seatunnel/pull/7871#issuecomment-2475968853

   > 
![image](https://private-user-images.githubusercontent.com/36789477/381793391-477a380b-b0a7-4ce7-8a16-7832bca89610.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzE1Nzk5OTEsIm5iZiI6MTczMTU3OTY5MSwicGF0aCI6Ii8zNjc4OTQ3Ny8zODE3OTMzOTEtNDc3YTM4MGItYjBhNy00Y2U3LThhMTYtNzgzMmJjYTg5NjEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTE0VDEwMjEzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4NjRmNGIxNTNiMDVmYTY1NTI4ZDRkNmRjMzdjYzRlMjI2YjVlOGQ4YmY3NjlmOWQ4M2I0NDZhNGYyOTk3NTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lXqAjaDreLpp3AjSJjm8av_-siYDDGdSTOA9CxYXPHc)
 When running tasks in a flow mode, an empty map array is returned, and a 
NullPointerException will occur at this location.
   > 
   > It also needs to be adjusted to the following format. split.setEndOffset( 
latestOffsets.getOrDefault( split.getTopicPartition(), Long.MAX_VALUE));
   
   Good catch, @Carl-Zhou-CN  we also need update here.
   
   Or can we in streaming mode, not return an empty map, return the value with 
Long.MAX_VALUE?
   
   


-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to