ajithme opened a new pull request #27069: [SPARK-30405][BRANCH2.4] 
ArrayKeyIndexType should use Arrays.hashCode
URL: https://github.com/apache/spark/pull/27069
 
 
   `hashCode` on array, returns arrays's identity hash and does not reflect the 
array's content instead. this can be corrected by using `Arrays.hashCode(array)`
   
   ### What changes were proposed in this pull request?
   hashCode method in `ArrayKeyIndexType` depends on `Arrays.hashCode(key) ^ 
Arrays.hashCode(id)`
   
   ### Why are the changes needed?
   `hashCode` on array, returns arrays's identity hash and does not reflect the 
array's content instead
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   All Existing UTs can pass with change

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to