Skip to content

Commit b119009

Browse files
committed
mysql: ydb ok
1 parent ed39728 commit b119009

25 files changed

+7466
-3840
lines changed

Diff for: tests/logictest/suites/ydb/select1-1.test

+10-4
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,11 @@ insert into t1(e,c,b,a,d) values(242,244,240,243,241)
9494
statement ok
9595
insert into t1(e,d,c,b,a) values(246,248,247,249,245)
9696

97-
query skipped
97+
query I
9898
select count(*) as x from (select 1 as x union all select 2 as x) group by x
99+
----
100+
1
101+
1
99102

100103
query I
101104
select count(*) from t1 left join
@@ -1699,7 +1702,8 @@ order by col4,col5,col3,col1,col2,col6
16991702
195 333 199 197.0 595 -1
17001703
225 333 229 227.0 685 -1
17011704

1702-
query skipped
1705+
## need to check the result later, currently just use ok to skip
1706+
statement ok
17031707
select c as col1,
17041708
case when a<b-3 then 111 when a<=b then 222
17051709
when a<b+3 then 333 else 444 end as col2,
@@ -4269,7 +4273,8 @@ order by col3,col5,col4,col2,col1
42694273
-1 113 4 0 112.0
42704274
1 166 4 0 167.0
42714275

4272-
query skipped
4276+
## need to check the result later, currently just use ok to skip
4277+
statement ok
42734278
select b-c as col1,
42744279
a+b*2+c*3+d*4+e*5 as col2
42754280
from t1
@@ -5980,7 +5985,8 @@ order by col2,col3,col1
59805985
13 1670 -3
59815986
14 1700 1
59825987

5983-
query skipped
5988+
## need to check the result later, currently just use ok to skip
5989+
statement ok
59845990
select d-e as col1,
59855991
abs(b-c) as col2,
59865992
(a+b+c+d+e)/5 as col3,

0 commit comments

Comments
 (0)