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
Copy file name to clipboardExpand all lines: tests/integrationtest/r/planner/core/casetest/integration.result
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1781,3 +1781,25 @@ from
1781
1781
(select 1 as c0) as subq_1;
1782
1782
c1
1783
1783
NULL
1784
+
use test;
1785
+
drop table if exists tt;
1786
+
create table tt(a bigint, b bigint, c bigint, d bigint, e bigint, primary key(c,d));
1787
+
explain format = brief update tt, (select 1 as c1 ,2 as c2 ,3 as c3, 4 as c4 union all select 2,3,4,5 union all select 3,4,5,6) tmp set tt.a=tmp.c1, tt.b=tmp.c2 where tt.c=tmp.c3 and tt.d=tmp.c4 and (tt.c,tt.d) in ((11,111),(22,222),(33,333),(44,444));
Copy file name to clipboardExpand all lines: tests/integrationtest/t/planner/core/casetest/integration.test
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -716,4 +716,8 @@ select
716
716
from
717
717
(select 1 as c0) as subq_1;
718
718
719
-
719
+
# TestIssue50614
720
+
use test;
721
+
drop table if exists tt;
722
+
create table tt(a bigint, b bigint, c bigint, d bigint, e bigint, primary key(c,d));
723
+
explain format = brief update tt, (select 1 as c1 ,2 as c2 ,3 as c3, 4 as c4 union all select 2,3,4,5 union all select 3,4,5,6) tmp set tt.a=tmp.c1, tt.b=tmp.c2 where tt.c=tmp.c3 and tt.d=tmp.c4 and (tt.c,tt.d) in ((11,111),(22,222),(33,333),(44,444));
0 commit comments