Skip to content

fix: add lost compile kwargs - #586

Merged
wendigo merged 1 commit into
trinodb:masterfrom
ovsds:fix-compile-kwargs
Feb 5, 2026
Merged

wendigo merged 1 commit into
trinodb:masterfrom
ovsds:fix-compile-kwargs

Conversation

@ovsds

@ovsds ovsds commented Dec 19, 2025 •

Copy link
Copy Markdown
Contributor

Description

trino.sqlalchemy.compiler.TrinoSQLCompiler.compile_ignore_nulls causes all compliations of funcs that being overridden to ignore compile_kwargs.

Non-technical explanation

#429 introduced bug where SqlAlchemy func compilation with kwargs is broken for functions first_value, last_value, nth_value, lead, lag.

Release notes

(x) This is not user-visible or docs only and no release notes are required.

@cla-bot

cla-bot Bot commented Dec 19, 2025

Copy link
Copy Markdown

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@ovsds

ovsds commented Jan 23, 2026

Copy link
Copy Markdown
Contributor Author

cc @wendigo @hashhar @mdesmet

@cla-bot cla-bot Bot added the cla-signed label Jan 24, 2026
@hashhar

hashhar commented Feb 4, 2026

Copy link
Copy Markdown
Member

@damian3031

@wendigo
wendigo merged commit ede0893 into trinodb:master Feb 5, 2026
12 checks passed
@ovsds

ovsds commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor Author

@wendigo @damian3031 @hashhar thanks for merge, will you be able to release new version so we can drop our local fixes for the matter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants