Cloudberry Database version
No response
What happened
the behavior of creating partitioned table inconsistently handles Table Access Method clause, because of
https://github.com/cloudberrydb/cloudberrydb/blob/main/src/backend/commands/tablecmds.c#L840
if dont really understand this if condition. In my opinion, we should not disallow this. Newly created partitions should inherit partition root TAM, aren't they? So we need a way to specify it.
What you think should happen instead
No response
How to reproduce
db3=# create table t(i int) partition by range (i) (start (10) end (11)) using ao_row distributed by (i) ;
CREATE TABLE
db3=# drop table t;
DROP TABLE
db3=# create table t(i int) partition by range (i) using ao_row distributed by (i) ;
ERROR: specifying a table access method is not supported on a partitioned table
Operating System
any
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Cloudberry Database version
No response
What happened
the behavior of creating partitioned table inconsistently handles Table Access Method clause, because of
https://github.com/cloudberrydb/cloudberrydb/blob/main/src/backend/commands/tablecmds.c#L840
if dont really understand this if condition. In my opinion, we should not disallow this. Newly created partitions should inherit partition root TAM, aren't they? So we need a way to specify it.
What you think should happen instead
No response
How to reproduce
Operating System
any
Anything else
No response
Are you willing to submit PR?
Code of Conduct