LuciferYang commented on code in PR #41452: URL: https://github.com/apache/spark/pull/41452#discussion_r1217788518
########## sql/core/src/main/scala/org/apache/spark/sql/execution/SubqueryBroadcastExec.scala: ########## @@ -93,7 +93,7 @@ case class SubqueryBroadcastExec( val rows = if (broadcastRelation.keyIsUnique) { keyIter.toArray[InternalRow] } else { - keyIter.toSet[InternalRow].toArray + keyIter.toArray[InternalRow].distinct Review Comment: The disorder cause some bad case? -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org