Skip to content

Releases: shinichi-takii/ddlparse

1.2.3

17 Feb 03:31
7328656
Compare
Choose a tag to compare

Changes

  • Fix parse error for MySQL DDL with FOREIGN KEY.
  • Fix not completely parsed with block comments.

1.2.2

01 Feb 17:55
349788c
Compare
Choose a tag to compare

Changes

  • Fix FutureWarning of Python 3.7.
  • Add supports PostgreSQL data type.
    • UUID
  • Fix parse DEFAULT value.
    • Add parse regex of DEFAULT value.

1.2.1

27 Jan 08:12
b148aa2
Compare
Choose a tag to compare

Changes

  • 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.

1.2.0

02 Jan 11:58
c88cc8f
Compare
Choose a tag to compare

Changes

  • Add DdlParseTable.to_bigquery_ddl function. (#20)
    • BigQuery DDL (CREATE TABLE) statement generate function.
  • Add DdlParseColumn.bigquery_legacy_data_type property. (#21)
    • Get BigQuery Legacy SQL data property.
    • Alias of DdlParseColumn.bigquery_data_type property.
  • Add DdlParseColumn.bigquery_standard_data_type property. (#22)
    • Get BigQuery Standard SQL data property.

1.1.3

01 Jul 16:45
c98a271
Compare
Choose a tag to compare

Changes

  • Added support inline comment (#17)
  • Added support constraint name with quotes (#15)
  • Added support Oracle Length Semantics for Character Datatypes (#16)

1.1.2

02 May 10:25
d6c184b
Compare
Choose a tag to compare

Changes

  • Add support Oracle data type.
    • CLOB, NCLOB (#9)
    • NUMBER with no length & scale specification (#10)
  • Miner fix. (#13)

1.1.1

25 Mar 09:11
3c973a2
Compare
Choose a tag to compare

Changes

  • Fix Postgres/Redshift parse of "::" syntax in field attribute. (#11)

1.1.0

25 Mar 09:10
4346ca5
Compare
Choose a tag to compare

Changes

  • Add source_database option. (#7)
  • Add to_bigquery_fields method to Columns dicttionary(DdlParseColumnDict class). (#5)
  • Fix BigQuery convert of Oracle data type.
    • Oracle 'DATE' -> BigQuery 'DATETIME' (#7)
    • Oracle 'NUMBER' -> BigQuery 'INTEGER' or 'FLOAT' (#4)

1.0.2

14 Jan 10:13
b64e29d
Compare
Choose a tag to compare

Changes

  • enhancement
    • ddlparse.py : Exclude unused module.
    • example.py : Modified comment.
    • README.md : Miner fix.

1.0.1

09 Jan 04:11
9099bb3
Compare
Choose a tag to compare

Changes

  • enhancement
    • DdlParseColumn.bigquery_data_type property logic
    • example.py add parse code