All notable changes to the "ddlparse" module will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.3.1 - 2019-12-05
- Fixed parsing failure for columns include dot at default values.
1.3.0 - 2019-06-15
- Add supports the parse of
COMMENT
statements. - Add
DdlParseColumn.comment
property. - Add
DdlParseColumn.description
property for theDdlParseColumn.comment
property alias. - Add supports column comments in BigQuery DDL.
1.2.3 - 2019-02-17
- Fix parse error for MySQL DDL with 'FOREIGN KEY'.
- Fix not completely parsed with block comments.
1.2.2 - 2019-02-02
- Add supports PostgreSQL data type.
UUID
- Fix FutureWarning of Python 3.7.
- Fix parse
DEFAULT
value.- Add parse regex of
DEFAULT
value.
- Add parse regex of
1.2.1 - 2019-01-27
- Add supports for Python 3.7.
- Pass Python 3.7 test.
- Add supports PostgreSQL data type.
CHARACTER VARYING
JSON
- Array type
- Fix parse
DEFAULT
value.- Add decimal point to
DEFAULT
parse character.
- Add decimal point to
1.2.0 - 2019-01-02
- Add
DdlParseTable.to_bigquery_ddl
function.- BigQuery DDL (CREATE TABLE) statement generate function.
- Add
DdlParseColumn.bigquery_legacy_data_type
property.- Get BigQuery Legacy SQL data property.
- Alias of
DdlParseColumn.bigquery_data_type
property.
- Add
DdlParseColumn.bigquery_standard_data_type
property.- Get BigQuery Standard SQL data property.
1.1.3 - 2018-08-02
- Add support inline comment.
- Add support constraint name with quotes.
- Add support Oracle Length Semantics for Character Datatypes.
1.1.2 - 2018-03-25
- Add support Oracle data type.
CLOB
,NCLOB
NUMBER
with no length & scale specification
- Miner fix.
1.1.1 - 2018-03-25
- Fix Postgres/Redshift parse of "::" syntax in field attribute.
1.1.0 - 2018-01-14
- Add
source_database
option. - Add
to_bigquery_fields
method to Columns dicttionary(DdlParseColumnDict
class).
- Fix BigQuery convert of Oracle data type.
- Oracle 'DATE' -> BigQuery 'DATETIME'
- Oracle 'NUMBER' -> BigQuery 'INTEGER' or 'FLOAT'
1.0.2 - 2018-01-09
- Miner enhancement.
ddlparse.py
: Exclude unused module.example.py
: Modified comment.README.md
: Miner fix.
1.0.1 - 2018-01-07
- Miner enhancement.
- Initial released.