-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
What happens?
A window function call inside of a scalar call fails in duckdb 1.4.0, and it used to work previously.
To Reproduce
>>> import duckdb
>>> duckdb.sql('select nullif(sum(1) over (rows between unbounded preceding and unbounded following), 1)')
Results in
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
duckdb.sql('select nullif(sum(1) over (rows between unbounded preceding and unbounded following), 1)')
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_duckdb.NotImplementedException: Not implemented Error: Unimplemented expression class
OS:
linux x86_64
DuckDB Package Version:
1.4.0
Python Version:
3.13.7
Full Name:
Charles Cloud
Affiliation:
Self
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?
- Yes, I have
Did you include all relevant configuration to reproduce the issue?
- Yes, I have
deepyaman