You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
145340: sql: support default equivalent collations for index expressions r=fqazi a=fqazi
Previously, index expressions would work with COLLATE C because we would always fall back to the legacy schema changer. When we moved to the declarative schema changer, this regressed because the declarative schema changer makes a copy of the AST by serializing and reparsing the statement. Unfortunately, the formatting for the collation expression did not correctly format out default equivalent collations. This patch updates the formatter for collation expressions to special-case default equivalent collations like POSIX, C, and DEFAULT.
Fixes: #145246
Release note: None
Co-authored-by: Faizan Qazi <[email protected]>
0 commit comments