Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions contrib/pax_storage/sql/cbdb_parallel.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- CBDB PARALLEL
-- Test CBDB style parallel plan.
-- GUCs shoule be set with local, do not disturb other parallel plans.
-- Should not use force_parallel_mode as it will ignore plan and check results only.
-- Should not use debug_parallel_query as it will ignore plan and check results only.
-- We want to check plan in this file!
-- If there is need to do that, set it local inside a transaction.
-- Set optimizer off in this file, ORCA parallel is not supported.
Expand Down Expand Up @@ -31,7 +31,7 @@
-- 12 CdbLocusType_HashedWorkers
--
--
set force_parallel_mode = 0;
set debug_parallel_query = 0;
set optimizer = off;

create schema test_parallel;
Expand Down Expand Up @@ -134,7 +134,7 @@ set local enable_parallel = on;
create index on t1(c2);
insert into t1 select i, i from generate_series(1, 1000000) i;
analyze t1;
set local force_parallel_mode = 1;
set local debug_parallel_query = 1;
set local enable_seqscan = off;
explain(locus, costs off) select c2 from t1;
-- results check
Expand Down Expand Up @@ -691,7 +691,7 @@ abort;
begin;
set local optimizer=off;
set local enable_parallel=on;
set local force_parallel_mode =1 ;
set local debug_parallel_query =1 ;
set local min_parallel_table_scan_size = 0;
create table semi_t1 (c1 integer) with(parallel_workers=2) distributed randomly;
create table semi_t2 (c2 integer) with(parallel_workers=2) distributed randomly;
Expand Down Expand Up @@ -765,5 +765,5 @@ drop schema test_parallel cascade;
-- end_ignore

reset gp_appendonly_insert_files;
reset force_parallel_mode;
reset debug_parallel_query;
reset optimizer;
6 changes: 3 additions & 3 deletions contrib/pax_storage/sql/types.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ CREATE TABLE pax_test.all_typbyval_pg_types (
pg_lsn_col pg_lsn
) USING pax distributed by (id);

insert into pax_test.all_typbyval_pg_types values(1, true,'c',2,'cid',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0'),
(1, true,'c',2,'cid',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0'),
(1, true,'c',2,'cid',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0');
insert into pax_test.all_typbyval_pg_types values(1, true,'c',2,'0',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0'),
(1, true,'c',2,'0',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0'),
(1, true,'c',2,'0',4.2,5,'2023-05-17 17:56:49',7,'2023-05-17 17:56:49',10,11.1111,12,'2023-05-17 17:56:49','2023-05-17 17:56:49', '16/0');
select * from pax_test.all_typbyval_pg_types;

create table pax_test.all_typlen_lt_0_pg_type (
Expand Down

Large diffs are not rendered by default.

Loading
Loading