cloud-fan commented on code in PR #47856:
URL: https://github.com/apache/spark/pull/47856#discussion_r2297038532
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/ExternalAppendOnlyUnsafeRowArray.scala:
##########
@@ -138,6 +142,7 @@ private[sql] class ExternalAppendOnlyUnsafeRowArray(
initialSize,
pageSizeBytes,
numRowsSpillThreshold,
+ maxSizeSpillThreshold,
Review Comment:
looking at this `def add` method, it trigger spilling only if the num rows
exceeds `numRowsInMemoryBufferThreshold`. IIUC we are not using memory-based
threshold here, as we keep appending data to a memory buffer based on the num
rows threshold.
--
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]