-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Implement array_has_all
function
#6973
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
array_has_all(array_contains) rhs is allowed to pass nested array now, should we only accept 1d array for rhs? |
@jayzhan211 We should accept arrays with all possible dimensions.
BUT:
Against, PostgreSQL supports our version:
I really don't know which version we should follow. Therefore, in this matter, I trust your taste. |
I think we can have both. For the postgres version, which is the current one, my understanding of array_contains(array_has_all) now is that we have The Clickhouse version to me is more like set operations and really does what To combine these two, @izveigor, what do you think about this approach? |
Is your feature request related to a problem or challenge?
Summary
array_has_all
list_has_all
,@>
,<@
DuckDB: Returns true if all elements of sub-list exist in list.
Examples:
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
#6972
No response
The text was updated successfully, but these errors were encountered: