]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Implement GROUPS frame spec for window functions
authorKaan <kaan191@gmail.com>
Wed, 19 Mar 2025 15:58:30 +0000 (11:58 -0400)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Mar 2025 13:34:58 +0000 (13:34 +0000)
commit1dedb8bf9bbdbab2317f484b8c26e9ee58480370
treec0eb65b99cb17d69dd996d2e9982e6fdd204b61a
parent8f875ae8640e7b996092c5b3fcb86d9cc1980b1d
Implement GROUPS frame spec for window functions

Implemented support for the GROUPS frame specification in window functions
by adding :paramref:`_sql.over.groups` option to :func:`_sql.over`
and :meth:`.FunctionElement.over`. Pull request courtesy Kaan Dikmen.

Fixes: #12450
Closes: #12445
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12445
Pull-request-sha: c0808e135f15c7fef3a3abcf28465673f38eb428

Change-Id: I9ff504a9c9650485830c4a0eaf44162898a3a2ad
(cherry picked from commit 0bbc515f904446d3f0beede54321b628f32fbdad)
doc/build/changelog/unreleased_20/12450.rst [new file with mode: 0644]
lib/sqlalchemy/sql/_elements_constructors.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/functions.py
test/ext/test_serializer.py
test/sql/test_compare.py
test/sql/test_compiler.py
test/sql/test_functions.py