ARRAY_INTERSECT (Lakehouse v2)
Returns the intersection of two arrays.
Analyze Syntax
Section titled “Analyze Syntax”func.array_intersect([1,2,3], [2,3,4])Analyze Examples
Section titled “Analyze Examples”func.array_intersect([1, 2, 3], [2, 3, 4])
┌───────┐│ [2,3] │└───────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_INTERSECT([1,2,3], [2,3,4])SQL Examples
Section titled “SQL Examples”SELECT ARRAY_INTERSECT([1, 2, 3], [2, 3, 4]);
┌───────┐│ [2,3] │└───────┘