sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

PRIMARY KEY support

Open Yuri6037 opened this issue 4 years ago • 2 comments

I wanted to use this software for testing queries generated by some algorithms however no create statement generated by those algorithms are parseable by this software.

All of them fails with syntax error, unexpected PRIMARY, expecting IDENTIFIER.

I guess the support for PRIMARY KEY constraints isn't implemented.

Here is a test query: CREATE TABLE Test (Id INT NOT NULL, A TEXT, PRIMARY KEY (Id));

Yuri6037 avatar Oct 26 '20 13:10 Yuri6037

That is unfortunately correct. Due to a lack of resources, adding this might take us a while. External contributions are of course welcomed.

mrks avatar Oct 27 '20 11:10 mrks

Unfortunatly I do not have time yet. I'm a student in Computer Science and currently have a part-time job, an end of study project, research and thesis as well...

Yuri6037 avatar Oct 27 '20 11:10 Yuri6037