amanomer opened a new pull request #26811: [SPARK-29600][SQL] array_contains 
built in function is not backward compatible in 3.0
URL: https://github.com/apache/spark/pull/26811
 
 
   ### What changes were proposed in this pull request?
   Use `TypeCoercion.findWiderTypeForTwo()` instead of 
`TypeCoercion.findTightestCommonType()` while preprocessing `inputTypes` in 
`ArrayContains`.
   
   ### Why are the changes needed?
   `TypeCoercion.findWiderTypeForTwo()` also handles cases for DecimalType.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   Test cases to be added.
   

----------------------------------------------------------------
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