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

Support create sequence with options INCREMENT, MINVALUE, MAXVALUE, START etc. #681

Merged
merged 9 commits into from Nov 3, 2022

Conversation

samjay000
Copy link
Contributor

Support create sequence with options

    [ AS data_type ]
    [ INCREMENT [ BY ] increment ]
    [ MINVALUE minvalue | NO MINVALUE ] [ MAXVALUE maxvalue | NO MAXVALUE ]
    [ START [ WITH ] start ] [ CACHE cache ] [ [ NO ] CYCLE ]
    [ OWNED BY { table_name.column_name | NONE } ]

This is continuation of #678

@coveralls
Copy link

coveralls commented Oct 20, 2022

Pull Request Test Coverage Report for Build 3380011029

  • 92 of 112 (82.14%) changed or added relevant lines in 3 files are covered.
  • 739 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+0.007%) to 85.956%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/parser.rs 46 53 86.79%
src/ast/mod.rs 36 49 73.47%
Files with Coverage Reduction New Missed Lines %
tests/sqlparser_snowflake.rs 1 96.83%
src/ast/value.rs 8 87.67%
src/ast/data_type.rs 13 88.62%
src/ast/ddl.rs 20 82.29%
tests/sqlparser_common.rs 54 96.85%
src/ast/mod.rs 264 77.07%
src/parser.rs 379 83.79%
Totals Coverage Status
Change from base Build 3292360592: 0.007%
Covered Lines: 11029
Relevant Lines: 12831

💛 - Coveralls

Copy link
Collaborator

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me -- thank you @sam-mmm

src/ast/mod.rs Show resolved Hide resolved
src/ast/mod.rs Show resolved Hide resolved
src/ast/mod.rs Outdated Show resolved Hide resolved
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants