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

character set correctness #55016

Closed
apollodafoni opened this issue Jul 29, 2024 · 6 comments · Fixed by #55080
Closed

character set correctness #55016

apollodafoni opened this issue Jul 29, 2024 · 6 comments · Fixed by #55080
Assignees
Labels
impact/wrong-result severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.

Comments

@apollodafoni
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t(a varchar(10) collate utf8_general_ci, b char(10) collate utf8_general_ci);
insert into t values ('a', 'á'),('aa', 'A '),('b', 'B'),('c', 'c'),(' ', ''); 
select * from t t1 where (t1.a, t1.b) in (select b, a from t t2); 

utf8mb4_general_ci, utf8_unicode_ci, utf8mb4_unicode_ci has the same problem.

2. What did you expect to see? (Required)

+------+------+
| a | b |
+------+------+
| a | á |
| b | B |
| c | c |
| | |
+------+------+

3. What did you see instead (Required)

+------+------+
| a | b |
+------+------+
| a | á |
| aa | A |
| b | B |
| c | c |
| | |
+------+------+

4. What is your TiDB version? (Required)

Release Version: v8.3.0-alpha
Edition: Community
Git Commit Hash: 7cdf918
Git Branch: heads/refs/tags/v8.3.0-alpha
UTC Build Time: 2024-07-28 11:48:31
GoVersion: go1.21.10
Race Enabled: false
Check Table Before Drop: false
Store: tikv

@apollodafoni apollodafoni added the type/bug The issue is confirmed as a bug. label Jul 29, 2024
@apollodafoni
Copy link
Author

/impact wrong-result

@apollodafoni
Copy link
Author

/component sql-infra

Copy link

ti-chi-bot bot commented Jul 29, 2024

@apollodafoni: The label(s) component/sql-infra cannot be applied, because the repository doesn't have them.

In response to this:

/component sql-infra

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@apollodafoni
Copy link
Author

/sig sql-infra

@ti-chi-bot ti-chi-bot bot added the sig/sql-infra SIG: SQL Infra label Jul 29, 2024
@apollodafoni
Copy link
Author

/severity major

@xhebox
Copy link
Contributor

xhebox commented Jul 30, 2024

ref #53127, problem of hash join v2 @windtalker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/wrong-result severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants