Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/19862#discussion_r154567693
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/SortMergeJoinExec.scala
---
@@ -750,6 +756,8 @@ private[joins] class SortMergeJoinScanner(
bufferedMatches.clear()
false
} else {
+ // To make sure vars like bufferedRow is set
+ advancedBufferedIterRes
--- End diff --
Add a comment like
https://github.com/apache/spark/pull/19862/files#r154567168.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]