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

column with timestamp not null default current_timestamp on update current_timestamp parse 3 columns #73

Open sloanchen opened 3 years ago

sloanchen commented 3 years ago

create table t1(update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP); when parse this ddl, expect 1 column,but get 3columns.