Repository navigation
Support ICU collation locales with modifiers - #73544
Merged
Merged
Conversation
Contributor
|
This is an automated comment for commit f8d5c17 with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
evillique
approved these changes
Dec 19, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Locale names with modifiers worked in old ClickHouse versions (https://fiddle.clickhouse.com/6cf3e21d-c41c-4408-8642-a3f4cf4b7cb3) but silently broke in newer versions (https://fiddle.clickhouse.com/73a96d8d-c9f0-437e-9afb-ba1e289a7a5f).
EDIT: looks like #8051 broke it.
Kudos to user "robin" from RELEX Solutions in the community Slack #help channel for reporting and investigating this:
https://clickhousedb.slack.com/archives/CU478UEQZ/p1734416965739239
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed a regression that using collation locales with modifiers throws an error. As an example,
SELECT arrayJoin(['kk 50', 'KK 01', ' KK 2', ' KK 3', 'kk 1', 'x9y99', 'x9y100']) item ORDER BY item ASC COLLATE 'tr-u-kn-true-ka-shiftednow works.