Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence type errors #3440

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Sequence type errors #3440

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working normal SQL

Comments

@monetdb-team
Copy link

Date: 2014-02-19 15:46:41 +0100
From: @mlkersten
To: SQL devs <>
Version: 11.17.9 (Jan2014)
CC: @njnes

Last updated: 2015-08-28 13:42:53 +0200

Comment 19588

Date: 2014-02-19 15:46:41 +0100
From: @mlkersten

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:26.0) Gecko/20100101 Firefox/26.0
Build Identifier:

Unexpected syntax error while the language would allow it.

Reproducible: Always

Steps to Reproduce:

CREATE SEQUENCE ancilfiles_aid_seq AS INTEGER
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE;

Actual Results:

sql>CREATE SEQUENCE ancilfiles_aid_seq AS INTEGER
more> START WITH 1
more> INCREMENT BY 1
more> NO MAXVALUE
more> NO MINVALUE;
syntax error, unexpected NOMINVALUE, expecting SCOLON in: "create sequence ancilfiles_aid_seq as integer
start with 1
increment by 1
no maxvalue
no minvalue"
sql>

Expected Results:

sql>CREATE SEQUENCE ancilfiles_aid_seq AS INTEGER
more> START WITH 1
more> INCREMENT BY 1
more> NO MAXVALUE
more> NO MINVALUE;

Comment 19628

Date: 2014-02-21 10:18:21 +0100
From: @njnes

2003 sql definition is indeed a lot more flexible then our current parser allows. It now has a fixed order of options while all (except the AS type) can be in any order.

Comment 21107

Date: 2015-08-08 17:05:58 +0200
From: @njnes

improved the handling of sequence number creation. This will be available in the release after the Jul2015 one.

Comment 21220

Date: 2015-08-28 13:42:53 +0200
From: @sjoerdmullender

Jul2015 has been released.

@monetdb-team monetdb-team added bug Something isn't working normal SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working normal SQL
Projects
None yet
Development

No branches or pull requests

2 participants