This discussion in the DuckDB repo suggests that we should consider adding an option to the Substrait extract datetime function to allow Substrait producers to specify whether they expect returned day/week/month/quarter integer values to be 0- or 1-indexed.
This discussion in the DuckDB repo suggests that we should consider adding an option to the Substrait
extractdatetime function to allow Substrait producers to specify whether they expect returned day/week/month/quarter integer values to be 0- or 1-indexed.