Skip to content

Commit

Permalink
Release underlying map for NULL-aware ANTI join
Browse files Browse the repository at this point in the history
  • Loading branch information
c21 committed Jun 16, 2021
1 parent aab0c2b commit d944e92
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ private[joins] object UnsafeHashedRelation {
throw QueryExecutionErrors.cannotAcquireMemoryToBuildUnsafeHashedRelationError()
}
} else if (isNullAware) {
binaryMap.free()
return HashedRelationWithAllNullKeys
}
}
Expand Down Expand Up @@ -1060,6 +1061,7 @@ private[joins] object LongHashedRelation {
val key = rowKey.getLong(0)
map.append(key, unsafeRow)
} else if (isNullAware) {
map.free()
return HashedRelationWithAllNullKeys
}
}
Expand Down

0 comments on commit d944e92

Please sign in to comment.