You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2025/12/10 13:48:05 UTC
Re: [I] Support ALL operator [datafusion]
Jefffrey commented on issue #2547:
URL: https://github.com/apache/datafusion/issues/2547#issuecomment-3637177895
Some pointers:
Planner code here, need to wire in support for `AllOp` node:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/sql/src/expr/mod.rs#L632-L635
See how `AnyOp` is handled:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/sql/src/expr/mod.rs#L590-L622
See implementation for `ArrayHasAll` which can be used (at least for `=`) case here:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/array_has.rs
- Ideally add support for operators at a time; that is start with just `=` then add support for `<`, `<=`, etc. in subsequent PRs
Add SLT tests here:
https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/sqllogictest/test_files/array.slt
--
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.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org