LuciferYang commented on code in PR #13550:
URL: https://github.com/apache/gluten/pull/13550#discussion_r4705565987


##########
cpp/velox/shuffle/VeloxRssSortShuffleWriter.cc:
##########
@@ -235,9 +235,8 @@ arrow::Status 
VeloxRssSortShuffleWriter::reclaimFixedSize(int64_t size, int64_t*
     for (auto pid = 0; pid < numPartitions(); ++pid) {
       RETURN_NOT_OK(evictRowVector(pid));
     }
-    batches_.clear();
     *actual = currentInputColumnBytes_;
-    currentInputColumnBytes_ = 0;
+    resetBatches();

Review Comment:
   Done in 856fe4fe8. `stop()` now calls `resetBatches()`, and `resetBatches()` 
is private, so the `// Public for test.` note is gone.
   



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