OpenMetadata
OpenMetadata copied to clipboard
Multiple primary key constraint on a table
Affected module Does it impact the UI, backend or Ingestion Framework? Backend
Describe the bug
We can add Primary key constraint to multiple columns on UI
However, the same thing cannot be done via API
To Reproduce
PUT /v1/tables with "constraint": "PRIMARY_KEY" on 2 different columns.
Expected behavior API should be success to enable multiple primary keys update. I suggest remove "Multiple columns tagged with primary key constraints" check
Version:
- OpenMetadata version: 1.11.6