raminqaf commented on code in PR #29481:
URL: https://github.com/apache/flink/pull/29481#discussion_r4274570009


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/ScalarOperatorGens.scala:
##########
@@ -1955,16 +1955,15 @@ object ScalarOperatorGens {
 
         val leftMapTerm = newName(ctx, "leftMap")
         val leftKeyTerm = newName(ctx, "leftKey")
-        val leftValueTerm = newName(ctx, "leftValue")
-        val leftValueNullTerm = newName(ctx, "leftValueIsNull")
+        // Map values are boxed. Unbox them, otherwise generateEquals compares 
the boxes by reference.
+        val leftBoxedValueTerm = newName(ctx, "leftBoxedValue")
         val leftValueExpr =

Review Comment:
   I went through the `generateArrayComparison` and did a similar 
implementation for both arryas



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to