Hello! **Is your feature request related to a problem or challenge? Please describe what you are trying to do.** ```sql // similar to array contains SELECT 1 = ANY(ARRAY[1,2,3,4]) // negative of array contains SELECT 1 <> ANY(ARRAY[1,2,3,4]) // Same story for <, <=, >, >= ``` Thanks
Activity
Jefffrey commentedon Sep 20, 2025
The
=case has been implemented by #11849Still pending work for the other cases (
<,<=, etc.)Jefffrey commentedon Dec 10, 2025
Some pointers.
Planner code here, need to wire in support for operators other than
=:datafusion/datafusion/functions-nested/src/planner.rs
Lines 124 to 136 in 2a08013
Implementation in here:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/array_has.rs
Add SLT tests here:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/sqllogictest/test_files/array.slt
buraksenn commentedon Mar 9, 2026
take
Support '>', '<', '>=', '<=', '<>' in any operator (#20830)
Support '>', '<', '>=', '<=', '<>' in any operator (apache#20830)
Support '>', '<', '>=', '<=', '<>' in any operator (apache#20830)
[Minor]: unify ANY/ALL planning and align ANY NULL semantics with PG (a…