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

bug: query result wrong: CASE WHEN THEN ELSE #1950

Open
2 of 3 tasks
zhenglin-charlie-li opened this issue Jul 19, 2023 · 0 comments
Open
2 of 3 tasks

bug: query result wrong: CASE WHEN THEN ELSE #1950

zhenglin-charlie-li opened this issue Jul 19, 2023 · 0 comments
Labels
A-bug Something isn't working

Comments

@zhenglin-charlie-li
Copy link

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Describe the problem

The query result does not meet expectation

StoneDB V1.0.4 Result

image

MySQL 5.7 Result

image

Expected behavior

No response

How To Reproduce

CREATE TABLE t0(c0 INT NULL);
INSERT INTO t0(c0) VALUES (DEFAULT);
SELECT * FROM t0 WHERE (CASE (t0.c0 IN (t0.c0)) WHEN TRUE THEN 'TRUE' ELSE 'FALSE' END );

Environment

Docker v1.0.4

Are you interested in submitting a PR to solve the problem?

  • Yes, I will!
@zhenglin-charlie-li zhenglin-charlie-li added the A-bug Something isn't working label Jul 19, 2023
@zhenglin-charlie-li zhenglin-charlie-li changed the title bug: query result wrong (CASE WHEN THEN ELSE) bug: query result wrong: CASE WHEN THEN ELSE Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant