izveigor opened a new issue, #6978:
URL: https://github.com/apache/arrow-datafusion/issues/6978
### Is your feature request related to a problem or challenge?
## Summary
| Characteristic | Description
|
| --------------------- |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| Function name: | `array_intersect`
|
| Aliases: | `list_intersect`, `&&`
|
| Original function?: | No
|
| Function Description: | <b>Azure DataBricks:</b> Returns an array of the
elements in the intersection of array1 and array2. </br> <b>Clickhouse:</b>
Takes multiple arrays, returns an array with elements that are present in all
source arrays. </br> <b>DuckDB:</b> Returns a list of all the elements that
exist in both l1 and l2, without duplicates. |
| Sources: |
[Concept](https://github.com/apache/arrow-datafusion/discussions/6855)
[Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/array_intersect)
[ClickHouse](https://clickhouse.com/docs/en/sql-reference/functions/array-functions#hasall)
[DuckDB](https://duckdb.org/docs/sql/functions/nested) |
## Examples:
```
select array_intersect([1, 2, 3, 4], [5, 6, 3, 4]);
----
[3, 4]
```
```
select array_intersect([1, 2, 3, 4], [5, 6, 7, 8]);
----
[]
```
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]