izveigor opened a new issue, #6981:
URL: https://github.com/apache/arrow-datafusion/issues/6981
### Is your feature request related to a problem or challenge?
## Summary
| Characteristic | Description
|
| --------------------- |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| Function name: | `array_union`
|
| Aliases: | `list_union`
|
| Original function?: | No
|
| Function Description: | <b>Azure DataBricks:</b> Returns an array of the
elements in the union of array1 and array2 without duplicates. </br> <b>Spark
SQL:</b> Returns an array of elements that are present in both arrays (all
elements from both arrays) with out 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_union)
[Spark](https://sparkbyexamples.com/spark/spark-sql-array-functions/) |
## Examples:
```
select array_union([1, 2, 3, 4], [5, 6, 3, 4]);
----
[3, 4]
```
```
select array_union([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]