yaooqinn commented on code in PR #52817:
URL: https://github.com/apache/spark/pull/52817#discussion_r2512661397
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala:
##########
@@ -583,24 +584,15 @@ private[execution] final class LongToUnsafeRowMap(
0)
}
- private def ensureAcquireMemory(size: Long): Unit = {
- // do not support spilling
- val got = acquireMemory(size)
- if (got < size) {
- freeMemory(got)
- throw
QueryExecutionErrors.cannotAcquireMemoryToBuildLongHashedRelationError(size,
got)
Review Comment:
We can remove this error class
--
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]