Open pthatte1-bb opened 3 months ago
gateway support for row_number has been added in #82. This works for Datafusion at the moment. Should automatically start working once DuckDB has window function support (and then we'll update the tests). Will leave this open until then to make sure.
Spark queries with
Window
functions fail in the gateway with error -"window expression type not supported"
Snippet to recreate error:
AFAIK, DuckDB DOES support Window functions. Snippet with runnable DuckDB-SQL version of above query -
And the Substrait spec also DOES support Window functions - https://substrait.io/expressions/window_functions/
But it looks like DuckDB-Substrait extension doesn't yet support
substrait production
forWindow
functions either. Theget_substrait_json(<window-fn-query>)
call using above query fails with error"duckdb.duckdb.InternalException: INTERNAL Error: WINDOW"