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

sql: Keep spaces when using unaccent #103819

Merged
merged 1 commit into from May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/builtin_function
Expand Up @@ -109,14 +109,16 @@ SELECT unaccent(str) FROM ( VALUES
('Żółć'),
('⃞h̀ELLO`̀́⃞'),
('Softhyphen­separator'),
('some ̂thing')
('some ̂thing'),
('héllö wòrld')
) tbl(str)
----
no_special_CHARACTERS1!
Zolc
hELLO`
Softhyphen-separator
something
some thing
hello world

statement error unknown signature: upper\(decimal\)
SELECT upper(2.2)
Expand Down
1 change: 0 additions & 1 deletion pkg/util/unaccent/unaccent.go
Expand Up @@ -428,7 +428,6 @@ var Dictionary = map[rune]string{
'˖': "+",
'˗': "-",
'˜': "~",
'\u0020': "",
'\u0027': "",
'\u0300': "",
'\u0301': "",
Expand Down