Simple-ddl-parser

Latest version: v1.5.1

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

Scan your dependencies

Page 12 of 13

0.8.1

1. Added support for HQL Structured types like ARRAY < STRUCT <street: STRING, city: STRING, country: STRING >>,
MAP < STRING, STRUCT < year: INT, place: STRING, details: STRING >>,
STRUCT < street_address: STRUCT <street_number: INT, street_name: STRING, street_type: STRING>, country: STRING, postal_code: STRING >

0.8.0

1. To DDLParser's run method was added 'output_mode' argument that expect valur 'hql' or 'sql' (by default).
Mode change result output. For example, in hql exists statement EXTERNAL. If you want to see in table information
is it EXTERNAL table or not - you need to set 'hql' output_mode.
2. Added support for hql EXTERNAL statement, STORED AS statement, LOCATION statement
3. Added support for PARTITIONED BY statement (for both hql & sql)
4. Added support for HQL ROW FORMAT statement, FIELDS TERMINATED BY statement, COLLECTION ITEMS TERMINATED BY statement, MAP KEYS TERMINATED BY statement

0.7.4

1. Fix behaviour with -- in strings. Allow calid table name like 'table--name'

0.7.3

1. Added support `/* ... */` block comments
2. Added support for Mysql '' comments

0.7.1

1. Ignore inline with '--' comments

0.7.0

1. Redone logic of parse CREATE TABLE statements, now they parsed as one statement (not line by line as previous)
2. Fixed several minor bugs with edge cases in default values and checks
3. Added support for ALTER FOREIGN KEY statement for several fields in one statement

Page 12 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.