Closed shubham-yb closed 11 months ago
Commit 80a9979 fixes this issue.
CREATE TABLE hash_partition_test (
a integer,
b integer NOT NULL,
c integer
) PARTITION BY HASH (b) ;
and for partition:
CREATE TABLE p0 PARTITION OF hash_partition_test
FOR VALUES WITH (MODULUS 2, REMAINDER 0);
CREATE TABLE p1 PARTITION OF hash_partition_test
FOR VALUES WITH (MODULUS 2, REMAINDER 1);
Hi, If we have a hash partitioned table, the generated schema is incorrect thus it fails. This is tested using the latest master ie.
432636af366a2512a154385b01f26f9dbff15367
. I haven't tested where the regression crept in.Source MySQL schema:
Exported schema contents (table.sql)
Exported schema contents (partitions.sql)
Thank You for your help.