You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multiple ICU date part functions are invoked, the first one is executed for all of them
To Reproduce
require icu
SELECTMAX(EXTRACT(YEAR FROM ts))
, MAX(EXTRACT(MONTH FROM ts))
, MAX(EXTRACT(DAY FROM ts))
, MAX(EXTRACT(DECADE FROM ts))
, MAX(EXTRACT(CENTURY FROM ts))
FROM (SELECT'2021-12-22'::TIMESTAMPTZ) tbl(d);
This is because BoundFunctionExpression::Equals relies on comparing the FunctionData when the function itself is the same.
Environment (please complete the following information):
OS: OSX
DuckDB Version: 0.3.2 HEAD
DuckDB Client: Test Harness
Before Submitting
[X ] Have you tried this on the latest master branch?
What happens?
When multiple ICU date part functions are invoked, the first one is executed for all of them
To Reproduce
This is because
BoundFunctionExpression::Equals
relies on comparing theFunctionData
when the function itself is the same.Environment (please complete the following information):
Before Submitting
master
branch?pip install duckdb --upgrade --pre
install.packages("https://github.com/duckdb/duckdb/releases/download/master-builds/duckdb_r_src.tar.gz", repos = NULL)
The text was updated successfully, but these errors were encountered: