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/sqllogictests/suites/base/09_fuse_engine/09_0023_replace_into.test
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -514,7 +514,7 @@ select * from t order by c;
514
514
3
515
515
516
516
statement ok
517
-
create or replace table test (c int);
517
+
create or replace table test (c int64);
518
518
519
519
statement ok
520
520
create or replace table source (c int, v string);
@@ -536,5 +536,9 @@ select sum(c) from test;
536
536
statement ok
537
537
explain replace into test on(c) select sum(c) as c from source group by v;
538
538
539
+
# partial parse insert source
539
540
statement ok
540
-
DROP DATABASE db_09_0023
541
+
replace into test (c) on conflict (c) select sum(c) as c from source where c >= 0 and c >= 1 and c >= 2 and c >= 3 and c >= 4 and c >= 5 and c >= 6 and c >= 7 and c >= 8 and c >= 9 and c >= 10 and c >= 11 and c >= 12 and c >= 13 and c >= 14 and c >= 15 and c >= 16 and c >= 17 and c >= 18 and c >= 19 and c >= 20 and c >= 21 and c >=22 and c >= 23 and c >= 24 and true and true and now() >= '2025-01-01' and date(now()) < date(add_hours(now(),24));
0 commit comments