Skip to content

Resolve breaking change that set "supports_lambda_functions" on GenericDialect#2224

Merged
iffyio merged 1 commit intoapache:mainfrom
alexander-beedie:generic-lambda-vs-binary-op
Feb 19, 2026
Merged

Resolve breaking change that set "supports_lambda_functions" on GenericDialect#2224
iffyio merged 1 commit intoapache:mainfrom
alexander-beedie:generic-lambda-vs-binary-op

Conversation

@alexander-beedie
Copy link
Contributor

@alexander-beedie alexander-beedie commented Feb 19, 2026

#2149 set "supports_lambda_functions" true for DuckDbDialect (which is fine), but also (accidentally?) set it for GenericDialect as well, breaking the existing use of -> as a binary operator.

This was previously identified in #1686 (comment) as something that shouldn't be done; the -> operator should remain a binary operator in GenericDialect.

This PR keeps the DuckDbDialect addition, reverts the change to GenericDialect, and adds a line of additional coverage to try and prevent any future regression.

Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @alexander-beedie!

@iffyio iffyio added this pull request to the merge queue Feb 19, 2026
Merged via the queue into apache:main with commit 0f37c27 Feb 19, 2026
10 checks passed
@alexander-beedie alexander-beedie deleted the generic-lambda-vs-binary-op branch February 19, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants