izveigor opened a new issue, #6996:
URL: https://github.com/apache/arrow-datafusion/issues/6996
### Is your feature request related to a problem or challenge?
## Summary
| Characteristic | Description
|
| --------------------- |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| Function name: | `array_pop_front`
|
| Aliases: | `list_pop_front`
|
| Original function?: | No
|
| Function Description: | <b>ClickHouse:</b> Removes the first item from the
array. </br> <b>DuckDB:</b> Returns the list without the first element.
|
| Sources: |
[Concept](https://github.com/apache/arrow-datafusion/discussions/6855)
[DuckDB](https://duckdb.org/docs/sql/functions/nested)
[ClickHouse](https://clickhouse.com/docs/en/sql-reference/functions/array-functions#arraypopfront)
|
## Examples:
```
D select array_pop_front([1, 2, 3, 4]);
┌──────────────────────────────────────────────┐
│ array_pop_front(main.list_value(1, 2, 3, 4)) │
│ int32[] │
├──────────────────────────────────────────────┤
│ [2, 3, 4] │
└──────────────────────────────────────────────┘
D select array_pop_front([[1, 2], [3, 4], [4, 2]]);
┌──────────────────────────────────────────────────────────────────────────────┐
│ array_pop_front(main.list_value(main.list_value(1, 2), main.list_value(3,
… │
│ int32[][]
│
├──────────────────────────────────────────────────────────────────────────────┤
│ [[3, 4], [4, 2]]
│
└──────────────────────────────────────────────────────────────────────────────┘
```
### 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]