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
I had searched in the issues and found no similar issues.
Version
main
What's Wrong?
databend
mysql>select-> case a+1 when b then 111 when c then 222-> when d then 333 when e then 444 else 555 end as col6
->from t1
->order by col6;
+------+
| col6 |
+------+
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
| 111 |
+------+
pg
postgres=# select
postgres-# case a+1 when b then 111 when c then 222
postgres-# when d then 333 when e then 444 else 555 end as col6
postgres-# from t1
postgres-# order by col6;
col6
------111111111111222222222333333333333333333333333333444444444444444555555555555555555555555555
(30 rows)
Search before asking
Version
main
What's Wrong?
databend
pg
How to Reproduce?
Use table t1 in https://github.com/datafuselabs/databend/blob/main/tests/logictest/suites/ydb/select1-1.test
Then run
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: