Simple DDL Parser to parse SQL (HQL, TSQL, AWS Redshift, BigQuery, Snowflake and other dialects) ddl files to json/python dict with full information about columns: types, defaults, primary keys, etc. & table properties, types, domains, etc.
MIT License
183
stars
41
forks
source link
Snowflake support { AUTOINCREMENT | IDENTITY } with [ { ORDER | NOORDER } ] optional parameter #213
Describe the bug
Adding support Snowflake CREATE TABLE { AUTOINCREMENT | IDENTITY } column definition with explicit Order or NoOrder optional parameters
Describe the bug Adding support Snowflake CREATE TABLE { AUTOINCREMENT | IDENTITY } column definition with explicit
Order
orNoOrder
optional parametershttps://docs.snowflake.com/en/sql-reference/sql/create-table To Reproduce run the following tests ` def test_autoincrement_order():
test for https://github.com/xnuinside/simple-ddl-parser/issues/20x
def test_autoincrement_noorder():
test for https://github.com/xnuinside/simple-ddl-parser/issues/20x
Expected behavior no regression, keep autoincrement: true , increment:none in case of
NOORDER
and 1 in case ofORDER