izveigor opened a new issue, #6975:
URL: https://github.com/apache/arrow-datafusion/issues/6975
### Is your feature request related to a problem or challenge?
## Summary
| Characteristic | Description
|
| --------------------- |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| Function name: | `array_slice`
|
| Aliases: | `list_slice`, `array[i:j]`
|
| Original function?: | No
|
| Function Description: | <b>Clickhouse:</b> Returns a slice of the array.
<br> <b>DuckDB:</b> Extract a sublist using slice conventions. NULLs are
interpreted as the bounds of the LIST. Negative values are accepted. <b> </b>
|
| Sources: |
[Concept](https://github.com/apache/arrow-datafusion/discussions/6855)
[ClickHouse](https://clickhouse.com/docs/en/sql-reference/functions/array-functions#arrayslice)
[DuckDB](https://duckdb.org/docs/sql/functions/nested) |
## Examples:
```
select array_slice([1, 2, 3, 4], 2, 3);
----
[2, 3]
```
```
select array_slice([1, 2, 3, 4], 1, 1);
----
[1]
```
### 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]