Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19969#discussion_r156716188
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/BroadcastHashJoinExec.scala
---
@@ -192,7 +192,7 @@ case class BroadcastHashJoinExec(
| $value = ${ev.value};
|}
""".stripMargin
- ExprCode(code, isNull, value)
+ ExprCode(code, isNull, value, inputRow = matched)
--- End diff --
we need to check more places that create `ExprCode` outside of
`Expression.genCode` and see if we set the inputs correctly.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]