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
Bug Description
It is possible to insert duplicate values into a primary key column.
How To Reproduce
CREATETABLEusers (id integerprimary key, name text, email text) USING parquet;
INSERT INTO users(id, name, email)
VALUES(1, 'John Doe', 'john@example.com');
-- This should not be allowed, but it isINSERT INTO users(id, name, email)
VALUES(1, 'John Doe', 'john@example.com');
-- Now we have a duplicate primary keySELECT*FROM users;
id | name | email
----+----------+------------------1 | John Doe | john@example.com1 | John Doe | john@example.com
(2 rows)
Proposed Fix
The text was updated successfully, but these errors were encountered:
Bug Description
It is possible to insert duplicate values into a primary key column.
How To Reproduce
Proposed Fix
The text was updated successfully, but these errors were encountered: