Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix planning of subscript and like #21215

Merged
merged 5 commits into from
Mar 23, 2024
Merged

Conversation

martint
Copy link
Member

@martint martint commented Mar 22, 2024

Release notes

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

@cla-bot cla-bot bot added the cla-signed label Mar 22, 2024
@martint martint force-pushed the ir-subscript branch 2 times, most recently from 134c1af to ead38a8 Compare March 22, 2024 21:39
@github-actions github-actions bot added the delta-lake Delta Lake connector label Mar 23, 2024
martint added 4 commits March 22, 2024 21:38
$like was defined for varchar, not for varchar(n), so calls
required a intervening cast to be formulated properly. When
the argument signature is varchar(n), calls work for both
varchar and varchar(n) without additional casts due to a quirk
in how the type inference and resolution algorithm works.

The proper fix would be to add both variants, but due to the
issue in the type inferencer, it causes failures due to
perceived ambiguity during resolution.

Also, add casts for the pattern/escape arguments to match the
expected varchar type.
@martint martint merged commit 8f279a8 into trinodb:master Mar 23, 2024
97 checks passed
@martint martint deleted the ir-subscript branch March 23, 2024 15:32
@github-actions github-actions bot added this to the 444 milestone Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector
Development

Successfully merging this pull request may close these issues.

2 participants