Feature: Change range
defaults and add generate_series
function
#3678
Labels
feature
New features or missing components of existing features
Features
stop
argument forrange
to be non-inclusive (similar to DuckDB and many programming languages)generate_series
function to allow the user to generate series inclusively (where thestop
argument is the last value of the series)API
Other
Description
Kùzu's
range
function is currently inclusive of thestop
argument.This is not the case in DuckDB:
For inclusive range, DuckDB provides an additional function
generate_series
, which behaves like our currentrange
function in Kùzu.We should make the
range
behaviour more consistent with other systems and offer the convenience functiongenerate_series
, so new users don't have to rewire their thinking when coming from DuckDB.The text was updated successfully, but these errors were encountered: