AngersZhuuuu opened a new pull request #30243:
URL: https://github.com/apache/spark/pull/30243


   ### What changes were proposed in this pull request?
   Support `array_contains_array` function
   
   
   
   ### Why are the changes needed?
   Provide more flexible Array functions
   
   ### Does this PR introduce _any_ user-facing change?
   user can use `array_contains_array` func
   
   |left  | right | result |
   | ------------- | ------------- |-------------|
   | null  | array(1)  | null |
   | null  | null  | null |
   | array(1)  | null  | null |
   | array(1, 2)  | array(1)  | true |
   | array(1, 2)  | array()  | true |
   | array()  | array()  | true |
   | array(1, 2, null)  | array(null)  | true |
   | array() | array(1) | false|
   | array(1, 2)  | array(3)  | false |
   
   
   ### How was this patch tested?
   Added UT


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to