Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
Low
Description
A table is created with case-sensitive composite primary key:
CREATE TABLE foo ( "Key1" text, "Key2" text, "Value" text PRIMARY KEY ("Key1", "Key2") );
In the result of DESCRIBE TABLE foo;:
CREATE TABLE foo ( "Key1" text, "Key2" text, "Value" text PRIMARY KEY (Key1, "Key2") );
Key1 is not quoted.
When trying to re-create the table with this description, there is an error:
InvalidRequest: code=2200 [Invalid query] message="Unknown definition key1 referenced in PRIMARY KEY"