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

tree: optionally treat string constants as collated #133496

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mw5h
Copy link
Contributor

@mw5h mw5h commented Oct 25, 2024

Previously, the type checker would reject comparisons between string constants and collated collated strings without an explicit type cast. This patch relaxes that restriction so that comparison of collated strings against string literals does the collated comparison as one would expect.

Fixes #132867

Release note (bug fix): String constants can now be compared against collated strings.

Previously, the type checker would reject comparisons between string
constants and collated collated strings without an explicit type cast.
This patch relaxes that restriction so that comparison of collated
strings against string literals does the collated comparison as one
would expect.

Fixes cockroachdb#132867

Release note (bug fix): String constants can now be compared against
collated strings.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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