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: contrib/pax_storage/expected/alter_distributed.out
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
1
set default_table_access_method = pax;
2
2
CREATE TABLE list_parted (a numeric, b int, c int8) PARTITION BY list (a);
3
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
3
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
4
4
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
5
5
CREATE TABLE sub_parted PARTITION OF list_parted for VALUES in (1) PARTITION BY list (b);
6
6
NOTICE: table has parent, setting distribution columns to match parent table
7
7
CREATE TABLE sub_part1(b int, c int8, a numeric);
8
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
8
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
9
9
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
10
10
alter table sub_part1 set distributed by (a);
11
11
ALTER TABLE sub_parted ATTACH PARTITION sub_part1 for VALUES in (1);
12
12
CREATE TABLE sub_part2(b int, c int8, a numeric);
13
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
13
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
14
14
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
15
15
alter table sub_part2 set distributed by (a);
16
16
ALTER TABLE sub_parted ATTACH PARTITION sub_part2 for VALUES in (2);
17
17
CREATE TABLE list_part1(a numeric, b int, c int8);
18
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
18
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
19
19
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
20
20
ALTER TABLE list_parted ATTACH PARTITION list_part1 for VALUES in (2,3);
21
21
INSERT into list_parted VALUES (2,5,50);
22
22
INSERT into list_parted VALUES (3,6,60);
23
23
INSERT into sub_parted VALUES (1,1,60);
24
24
INSERT into sub_parted VALUES (1,2,10);
25
25
CREATE TABLE non_parted (id int);
26
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Cloudberry Database data distribution key for this table.
26
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table.
27
27
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
select gp_segment_id,seq from gp_dist_random('pg_ext_aux.pg_pax_fastsequence') where
@@ -61,22 +61,22 @@ UPDATE list_parted t1 set a = 2 FROM non_parted t2 WHERE t1.a = t2.id and a = 1;
61
61
drop table list_parted;
62
62
drop table non_parted;
63
63
CREATE TABLE list_parted (a numeric, b int, c int8) PARTITION BY list (a);
64
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
64
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
65
65
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
66
66
CREATE TABLE sub_parted PARTITION OF list_parted for VALUES in (1) PARTITION BY list (b);
67
67
NOTICE: table has parent, setting distribution columns to match parent table
68
68
CREATE TABLE sub_part1(b int, c int8, a numeric);
69
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
69
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
70
70
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
71
71
alter table sub_part1 set distributed by (a);
72
72
ALTER TABLE sub_parted ATTACH PARTITION sub_part1 for VALUES in (1);
73
73
CREATE TABLE sub_part2(b int, c int8, a numeric);
74
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
74
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
75
75
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
76
76
alter table sub_part2 set distributed by (a);
77
77
ALTER TABLE sub_parted ATTACH PARTITION sub_part2 for VALUES in (2);
78
78
CREATE TABLE list_part1(a numeric, b int, c int8);
79
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
79
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
80
80
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
81
81
ALTER TABLE list_parted ATTACH PARTITION list_part1 for VALUES in (2,3);
82
82
-- make fastseq bigger than 1
@@ -95,7 +95,7 @@ INSERT into list_parted VALUES (3,6,60);
95
95
INSERT into sub_parted VALUES (1,1,60);
96
96
INSERT into sub_parted VALUES (1,2,10);
97
97
CREATE TABLE non_parted (id int);
98
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Cloudberry Database data distribution key for this table.
98
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table.
99
99
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
select gp_segment_id,seq from gp_dist_random('pg_ext_aux.pg_pax_fastsequence') where
@@ -133,22 +133,22 @@ UPDATE list_parted t1 set a = 2 FROM non_parted t2 WHERE t1.a = t2.id and a = 1;
133
133
drop table list_parted;
134
134
drop table non_parted;
135
135
CREATE TABLE list_parted (a numeric, b int, c int8) PARTITION BY list (a);
136
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
136
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
137
137
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
138
138
CREATE TABLE sub_parted PARTITION OF list_parted for VALUES in (1) PARTITION BY list (b);
139
139
NOTICE: table has parent, setting distribution columns to match parent table
140
140
CREATE TABLE sub_part1(b int, c int8, a numeric);
141
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
141
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
142
142
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
143
143
alter table sub_part1 set distributed by (a);
144
144
ALTER TABLE sub_parted ATTACH PARTITION sub_part1 for VALUES in (1);
145
145
CREATE TABLE sub_part2(b int, c int8, a numeric);
146
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Cloudberry Database data distribution key for this table.
146
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'b' as the Apache Cloudberry data distribution key for this table.
147
147
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
148
148
alter table sub_part2 set distributed by (a);
149
149
ALTER TABLE sub_parted ATTACH PARTITION sub_part2 for VALUES in (2);
150
150
CREATE TABLE list_part1(a numeric, b int, c int8);
151
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Cloudberry Database data distribution key for this table.
151
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'a' as the Apache Cloudberry data distribution key for this table.
152
152
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
153
153
ALTER TABLE list_parted ATTACH PARTITION list_part1 for VALUES in (2,3);
Copy file name to clipboardExpand all lines: contrib/pax_storage/expected/cluster.out
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ select ptblockname,ptstatistics,ptisclustered from get_pax_aux_table('t_zorder_c
114
114
drop table t_zorder_cluster;
115
115
-- test cluster reloption without order
116
116
create table t_zorder_cluster(c1 int, c2 int) with (minmax_columns='c1,c2', cluster_columns='c2,c1');
117
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'c1' as the Cloudberry Database data distribution key for this table.
117
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'c1' as the Apache Cloudberry data distribution key for this table.
118
118
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
119
119
insert into t_zorder_cluster select i,i from generate_series(1,100000) i;
120
120
insert into t_zorder_cluster select i,i from generate_series(1,100000) i;
Copy file name to clipboardExpand all lines: contrib/pax_storage/expected/ddl.out
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ create table pax_test.t2(
27
27
created_at timestamp with time zone not null,
28
28
updated_at timestamp with time zone not null
29
29
);
30
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Cloudberry Database data distribution key for this table.
30
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Apache Cloudberry data distribution key for this table.
31
31
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: contrib/pax_storage/expected/detoast.out
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
set default_table_access_method = pax;
2
2
CREATE TABLE toasttest_external(f1 text);
3
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
3
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
4
4
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
5
5
-- The storage `EXTERNAL` allows out-of-line storage but not compression.
6
6
alter table toasttest_external alter column f1 set storage external;
@@ -19,7 +19,7 @@ SELECT reltoastrelid = 0 AS is_empty
19
19
(1 row)
20
20
21
21
create table toasttest_external_pax(f1 text) using pax;
22
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
22
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
23
23
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
24
24
insert into toasttest_external_pax select * from toasttest_external;
25
25
drop table toasttest_external;
@@ -36,7 +36,7 @@ select length(f1) from toasttest_external_pax;
36
36
37
37
drop table toasttest_external_pax;
38
38
CREATE TABLE toasttest_compress(f1 text);
39
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
39
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
40
40
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
41
41
-- The storage `MAIN` allows compression but not out-of-line storage.
42
42
alter table toasttest_compress alter column f1 set storage main;
@@ -50,7 +50,7 @@ SELECT reltoastrelid = 0 AS is_empty FROM pg_class where relname = 'toasttest_co
50
50
(1 row)
51
51
52
52
create table toasttest_compress_pax(f1 text) using pax;
53
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
53
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
54
54
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
55
55
insert into toasttest_compress_pax select * from toasttest_compress;
56
56
drop table toasttest_compress;
@@ -62,7 +62,7 @@ select length(f1) from toasttest_compress_pax;
62
62
63
63
drop table toasttest_compress_pax;
64
64
CREATE TABLE toasttest_extended(f1 text);
65
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
65
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
66
66
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
67
67
-- The storage `EXTENDED` allows both compression and out-of-line storage.
68
68
alter table toasttest_extended alter column f1 set storage EXTENDED;
@@ -77,7 +77,7 @@ SELECT reltoastrelid = 0 AS is_empty FROM pg_class where relname = 'toasttest_ex
77
77
(1 row)
78
78
79
79
create table toasttest_extended_pax(f1 text) using pax;
80
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Cloudberry Database data distribution key for this table.
80
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'f1' as the Apache Cloudberry data distribution key for this table.
81
81
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
82
82
insert into toasttest_extended_pax select * from toasttest_extended;
Copy file name to clipboardExpand all lines: contrib/pax_storage/expected/filter_tree.out
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ create or replace function falserc(iint int)
16
16
begin return false; end;
17
17
$$ language plpgsql;
18
18
create table t1(same int, v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
19
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Cloudberry Database data distribution key for this table.
19
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Apache Cloudberry data distribution key for this table.
20
20
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
21
21
create table t2(same int, v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
22
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Cloudberry Database data distribution key for this table.
22
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Apache Cloudberry data distribution key for this table.
23
23
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
24
24
create table t_allnull(v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
25
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'v1' as the Cloudberry Database data distribution key for this table.
25
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'v1' as the Apache Cloudberry data distribution key for this table.
26
26
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
27
27
-- two file with minmax(1,400) and minmax(401,800)
Copy file name to clipboardExpand all lines: contrib/pax_storage/expected/filter_tree_1.out
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ create or replace function falserc(iint int)
16
16
begin return false; end;
17
17
$$ language plpgsql;
18
18
create table t1(same int, v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
19
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Cloudberry Database data distribution key for this table.
19
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Apache Cloudberry data distribution key for this table.
20
20
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
21
21
create table t2(same int, v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
22
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Cloudberry Database data distribution key for this table.
22
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'same' as the Apache Cloudberry data distribution key for this table.
23
23
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
24
24
create table t_allnull(v1 int, v2 int, v3 int, v4 int) using pax with (minmax_columns='v1,v2,v3,v4');
25
-
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'v1' as the Cloudberry Database data distribution key for this table.
25
+
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'v1' as the Apache Cloudberry data distribution key for this table.
26
26
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
27
27
-- two file with minmax(1,400) and minmax(401,800)
0 commit comments