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
select gp_segment_id, * from t1_varchar where col1_varchar = '2'::char;
1296
-
INFO: (slice 1) Dispatch command to SINGLE content
1296
+
INFO: (slice 1) Dispatch command to ALL contents: 0 1 2
1297
1297
gp_segment_id | col1_varchar | col2_int
1298
1298
---------------+--------------+----------
1299
1299
(0 rows)
@@ -1359,14 +1359,14 @@ INFO: Distributed transaction command 'Distributed Commit Prepared' to ALL cont
1359
1359
explain (costs off) select LOWER(name) as aba FROM srt_dd WHERE name = 'ABA'::text;
1360
1360
QUERY PLAN
1361
1361
----------------------------------------------
1362
-
Gather Motion 1:1 (slice1; segments: 1)
1362
+
Gather Motion 3:1 (slice1; segments: 3)
1363
1363
-> Seq Scan on srt_dd
1364
1364
Filter: ((name)::text = 'ABA'::text)
1365
1365
Optimizer: Postgres query optimizer
1366
1366
(4 rows)
1367
1367
1368
1368
select LOWER(name) as aba FROM srt_dd WHERE name = 'ABA'::text;
1369
-
INFO: (slice 1) Dispatch command to SINGLE content
1369
+
INFO: (slice 1) Dispatch command to ALL contents: 0 1 2
1370
1370
aba
1371
1371
-----
1372
1372
aba
@@ -1382,8 +1382,9 @@ explain (costs off) delete from srt_dd where name='ABA'::text;
1382
1382
(4 rows)
1383
1383
1384
1384
delete from srt_dd where name='ABA'::text;
1385
-
INFO: (slice 0) Dispatch command to SINGLE content
1386
-
INFO: Distributed transaction command 'Distributed Commit (one-phase)' to SINGLE content
1385
+
INFO: (slice 0) Dispatch command to ALL contents: 0 1 2
1386
+
INFO: Distributed transaction command 'Distributed Prepare' to ALL contents: 0 1 2
1387
+
INFO: Distributed transaction command 'Distributed Commit Prepared' to ALL contents: 0 1 2
1387
1388
drop extension if exists citext cascade;
1388
1389
NOTICE: drop cascades to table srt_dd
1389
1390
INFO: Distributed transaction command 'Distributed Prepare' to ALL contents: 0 1 2
@@ -1606,6 +1607,7 @@ set allow_system_table_mods=off;
1606
1607
-- If opno of clause does not belong to opfamily of distributed key,
1607
1608
-- do not use direct dispatch to resolve wrong result
1608
1609
-- FIXME: orca still has wrong results
1610
+
-- CBDB_MERGE_FIXME: known ORCA direct dispatch BUG
1609
1611
create table t_14887(a varchar);
1610
1612
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Greenplum Database data distribution key for this table.
1611
1613
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
Copy file name to clipboardExpand all lines: src/test/regress/expected/direct_dispatch_optimizer.out
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1625,24 +1625,24 @@ set allow_system_table_mods=off;
1625
1625
-- If opno of clause does not belong to opfamily of distributed key,
1626
1626
-- do not use direct dispatch to resolve wrong result
1627
1627
-- FIXME: orca still has wrong results
1628
+
-- CBDB_MERGE_FIXME: known ORCA direct dispatch BUG
1628
1629
create table t_14887(a varchar);
1629
1630
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Greenplum Database data distribution key for this table.
1630
1631
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
1631
1632
insert into t_14887 values('a ');
1632
1633
explain select * from t_14887 where a = 'a'::bpchar;
0 commit comments