shinichi-takii / ddlparse

DDL parase and Convert to BigQuery JSON schema and DDL statements
https://pypi.org/project/ddlparse/
BSD 3-Clause "New" or "Revised" License
87 stars 29 forks source link

Parse error for MySQL DDL with comma in COMMENT string #41

Closed frozenpine closed 4 years ago

frozenpine commented 5 years ago

if a comma in column's comment string, parse result will discard all other columns behind it.

image

all columns behind direction will be discarded.

aiphee commented 4 years ago

This issue also affects me, can we please try to resolve it?

shinichi-takii commented 4 years ago

@frozenpine @aiphee Thank you for reporting.

I fixed this issue. Please upgrade the package to v1.5.0.

$ pip --no-cache-dir install --upgrade ddlparse

Thanks