Simple-ddl-parser

Latest version: v1.7.1

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 14

1.7.1

Fixes:
1. Fix 'character set' issue - https://github.com/xnuinside/simple-ddl-parser/issues/288

1.7.0

Fixes
1. DEFAULT Value with '::' cast parsed correctly now - https://github.com/xnuinside/simple-ddl-parser/issues/286

Improvements
1. Added support for ENUM & SET column type - https://github.com/xnuinside/simple-ddl-parser/issues/259

1.6.1

Fixes
1. 289 CREATE SCHEMA IF NOT EXISTS plus comment fail
2. schema or db.schema location in snowflake

1.6.0

IMPORTANT:
In this versions there is some output changes & fixes that can break your code.
1. Now all arguments inside brackets are parsed as separate strings in the list.
For example:
`file_format = (TYPE=JSON NULL_IF=('field')` this was parsed like 'NULL_IF': "('field')",
now it will be: 'NULL_IF': ["'field'"],

2. Added separate tokens for EQ `=` and IN (previously they was parsed as IDs also - for internal info, for contributors.

3. Some check statements in columns now parsed validly, also IN statements parsed as normal lists.
So this statement include_exclude_ind CHAR(1) NOT NULL CONSTRAINT chk_metalistcombo_logicalopr
CHECK (include_exclude_ind IN ('I', 'E')),


will produce this output:

{'check': {'constraint_name': 'chk_metalistcombo_logicalopr',
'statement': {'in_statement': {'in': ["'I'", "'E'"],
'name': 'include_exclude_ind'}}},


Fixes
1. DEFAULT word now is not arriving in key 'default' (it was before in some cases)

New Features
1. Added Athena output mode and initial support - https://github.com/datacontract/datacontract-cli/issues/332

1.5.4

Improvements
Snowflake :
1. In Snowflake add `pattern` token for external table statement, and improve location rendering

1.5.3

Fixes

1. In Snowflake unexpected error when STRIP_OUTER_ARRAY property in file_format statement - https://github.com/xnuinside/simple-ddl-parser/issues/276
2.

Page 1 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.