izveigor opened a new issue, #7075:
URL: https://github.com/apache/arrow-datafusion/issues/7075
### Is your feature request related to a problem or challenge?
## Summary
| Characteristic | Description
|
| --------------------- |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| Function name: | `array_removes`
|
| Aliases: | `list_removes`
|
| Original function?: | No
|
| Why? |
|
| Function Description: | <b>PostgreSQL:</b> remove all elements equal to
the given value from the array (array must be one-dimensional). </br> <b>Azure
DataBricks:</b> Removes all occurrences of element from array. </br> <b>Spark
SQL:</b> Returns an array after removing all provided 'value' from the given
array. </b> |
| Sources: |
[Concept](https://github.com/apache/arrow-datafusion/discussions/6855)
[PostgreSQL](https://www.postgresql.org/docs/current/functions-array.html)
[Azure](https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/functions/array_remove)
[Spark](https://sparkbyexamples.com/spark/spark-sql-array-functions) |
## Examples:
```
❯ select array_removes([1, 2, 2, 3, 2, 1, 4], 2);
+-----------------------------------------------+
| array_removes(List([1,2,2,3,2,1,4]),Int64(2)) |
+-----------------------------------------------+
| [1, 3, 1, 4] |
+-----------------------------------------------+
```
### 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]