You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/03/28 14:33:03 UTC

[GitHub] [spark] pan3793 commented on a diff in pull request #40578: [SPARK-42949][SQL] Simplify code for NAAJ

pan3793 commented on code in PR #40578:
URL: https://github.com/apache/spark/pull/40578#discussion_r1150721270


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala:
##########
@@ -131,7 +131,7 @@ trait HashJoin extends JoinCodegenSupport {
   @transient protected lazy val streamedBoundKeys =
     bindReferences(HashJoin.rewriteKeyExpr(streamedKeys), streamedOutput)
 
-  protected def buildSideKeyGenerator(): Projection =
+  protected def buildSideKeyGenerator(): UnsafeProjection =

Review Comment:
   keep consistent w/ `def streamSideKeyGenerator()`, actually this method can be removed since it's unused



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org