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

ERROR 1105 (HY000): other error: [components/tidb_query_expr/src/impl_compare_in.rs:68]: Unexpected ExprType MysqlBit and EvalType Int #57387

Open
apollodafoni opened this issue Nov 14, 2024 · 4 comments
Labels
fuzz/comp severity/moderate sig/sql-infra SIG: SQL Infra 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 lrr_test(`COL1` bit(28));
insert into lrr_test values(0x00000009);
select col1 from lrr_test t1 where (select count(*) from lrr_test t2 where t2.col1 in (t1.col1, -45828324)) = 1;

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

Mysql:
+------------+
| col1 |
+------------+
| 0x00000009 |
+------------+

3. What did you see instead (Required)

ERROR 1105 (HY000): other error: [components/tidb_query_expr/src/impl_compare_in.rs:68]: Unexpected ExprType MysqlBit and EvalType Int

4. What is your TiDB version? (Required)

Release Version: v8.5.0-alpha-114-g97e7b5c268
Edition: Community
Git Commit Hash: 97e7b5c
Git Branch: HEAD
UTC Build Time: 2024-11-13 16:20:23
GoVersion: go1.23.3
Race Enabled: false
Check Table Before Drop: false
Store: tikv

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

/severity moderate
/sig sql-infra
/label fuzz/comp

Copy link

ti-chi-bot bot commented Nov 14, 2024

@apollodafoni: The label(s) fuzz/comp cannot be applied. These labels are supported: fuzz/sqlancer, challenge-program, compatibility-breaker, first-time-contributor, contribution, good first issue, correctness, duplicate, proposal, security, needs-more-info, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.5, needs-cherry-pick-release-7.1, needs-cherry-pick-release-7.5, needs-cherry-pick-release-8.1, needs-cherry-pick-release-8.5, affects-5.4, affects-6.1, affects-6.5, affects-7.1, affects-7.5, affects-8.1, affects-8.4, affects-8.5, may-affects-5.4, may-affects-6.1, may-affects-6.5, may-affects-7.1, may-affects-7.5, may-affects-8.1, may-affects-8.5.

In response to this:

/severity moderate
/sig sql-infra
/label fuzz/comp

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.

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

/found fuzz/comp

Copy link

ti-chi-bot bot commented Nov 14, 2024

@apollodafoni: The label(s) found/fuzz/comp cannot be applied, because the repository doesn't have them.

In response to this:

/found fuzz/comp

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuzz/comp severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants