zhanglistar commented on code in PR #12327:
URL: https://github.com/apache/gluten/pull/12327#discussion_r3490555019
##########
gluten-flink/runtime/src/main/java/org/apache/gluten/table/runtime/operators/GlutenOneInputOperator.java:
##########
@@ -238,16 +260,31 @@ public void processWatermark2(Watermark mark) throws
Exception {
@Override
public void close() throws Exception {
- if (task != null) {
- task.close();
- }
- if (inputQueue != null) {
- inputQueue.noMoreInput();
- inputQueue.close();
- }
- if (sessionResource != null) {
- sessionResource.close();
- }
+ GlutenCloseables.runWithCleanup(
+ () -> {
Review Comment:
This is done by checkpoint in flink framework.
--
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]