corasaurus-hex opened a new pull request, #2500: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2500
# What is this? Adds support for window-frame `EXCLUDE` in the DuckDB, PostgreSQL, SQLite, and Generic dialects. ```sql SELECT sum(n) OVER (ORDER BY n ROWS UNBOUNDED PRECEDING EXCLUDE CURRENT ROW) FROM t; SELECT sum(n) OVER (ORDER BY n ROWS UNBOUNDED PRECEDING EXCLUDE GROUP) FROM t; SELECT sum(n) OVER (ORDER BY n ROWS UNBOUNDED PRECEDING EXCLUDE TIES) FROM t; SELECT sum(n) OVER (ORDER BY n ROWS UNBOUNDED PRECEDING EXCLUDE NO OTHERS) FROM t; ``` Introduced in [DuckDB 0.10.0](https://duckdb.org/2025/02/10/window-catchup#frame-exclusion), [PostgreSQL 11](https://www.postgresql.org/docs/11/release-11.html), and [SQLite 3.28.0](https://sqlite.org/releaselog/3_28_0.html). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
