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
create table mpp17761.split_tab5( a int, b int, c char(5), d boolean default true) with (appendonly=true, orientation=column )
distributed randomly
partition by list(b)
(
partition a values (1,2,3,4) with (appendonly = true),
partition b values(5,6,7,8) with (appendonly = true),
DEFAULT COLUMN ENCODING (compresstype=zlib,compresslevel=5)
);
CREATE TABLE
Actual behavior:
create table mpp17761.split_tab5( a int, b int, c char(5), d boolean default true) with (appendonly=true, orientation=column )
distributed randomly
partition by list(b)
(
partition a values (1,2,3,4) with (appendonly = true),
partition b values(5,6,7,8) with (appendonly = true),
DEFAULT COLUMN ENCODING (compresstype=zlib,compresslevel=5)
);
);
psql:/code/cbdb_testrepo_src/mpp/gpdb/tests/storage/basic/partition/output/mpp17761.sql:196: ERROR: ENCODING clause only supported with column oriented tables
congxuebin
changed the title
[Bug] table with appendonly=true, orientation=column, appears not as a AO table
[Bug] table with appendonly=true, orientation=column, but appears not as a AO table
Jan 19, 2024
congxuebin
changed the title
[Bug] table with appendonly=true, orientation=column, but appears not as a AO table
[Bug] table with appendonly=true, orientation=column, but appears not as an AO table
Jan 19, 2024
I tried on old version cbdb, it is not as AO table(I don't see Access method ao_column), which could be the problem?
gpadmin=# create table split_tab5( a int, b int, c char(5), d boolean default true) with (appendonly=true, orientation=column )
distributed randomly
partition by list(b)
(
partition a values (1,2,3,4) with (appendonly = true),
partition b values(5,6,7,8) with (appendonly = true),
DEFAULT COLUMN ENCODING (compresstype=zlib,compresslevel=5)
);
CREATE TABLE
gpadmin=# \d+ split_tab5
Partitioned table "public.split_tab5"
Column | Type | Collation | Nullable | Default | Storage | Compression | Stats target | Description
--------+--------------+-----------+----------+---------+----------+-------------+--------------+-------------
a | integer | | | | plain | | |
b | integer | | | | plain | | |
c | character(5) | | | | extended | | |
d | boolean | | | true | plain | | |
Partition key: LIST (b)
Partitions: split_tab5_1_prt_a FOR VALUES IN (1, 2, 3, 4),
split_tab5_1_prt_b FOR VALUES IN (5, 6, 7, 8)
Distributed randomly
congxuebin
changed the title
[Bug] table with appendonly=true, orientation=column, but appears not as an AO table
[Bug] a table specified with "appendonly=true, orientation=column" appears not as an ao table
Jan 19, 2024
Cloudberry Database version
Expected:
Actual behavior:
What happened
As stated above,
What you think should happen instead
No response
How to reproduce
As stated above
Operating System
centos7
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: