Closed
Description
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: | Clickhouse: Returns a slice of the array. DuckDB: Extract a sublist using slice conventions. NULLs are interpreted as the bounds of the LIST. Negative values are accepted. |
Sources: | Concept ClickHouse DuckDB |
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