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
ERROR: insufficient columns in the PRIMARY KEY constraint definition
DETAIL: PRIMARY KEY constraint on table "employees" lacks column "hire_date" which is part of the partition key.
Workaround: Add all Partition columns to Primary Key
sanyamsinghal
changed the title
Partition Key column not part of Primary Key columns
[Oracle/MySQL] Partition Key column not part of Primary Key columns
Nov 10, 2022
shubham-yb
changed the title
[Oracle/MySQL] Partition Key column not part of Primary Key columns
[Oracle] Partition Key column not part of Primary Key columns
Jan 24, 2023
In YugabyteDB, If the table is partitioned on a column then that column needs to be a part of the PRIMARY KEY columns.
For example, Exported Schema:
YugabyteDB will throw this error:
Workaround: Add all Partition columns to Primary Key
The text was updated successfully, but these errors were encountered: