xnuinside/simple-ddl-parser

CREATE OR REPLACE TABLE not recognized by parser

devxor opened this issue · 1 comments

Describe the bug
CREATE OR REPLACE TABLE is not recognized. The parser returns empty list.

To Reproduce
I'm using "parse_from_file()". The DDL is from Snowflake DB.
Example of not working DDL:

create or replace table someTable (
    someField varchar(4)
);

Expected behaviour
See correct output.

@devxor hi! thanks for reporting the issue, I merged fix #132 & already released it in version 0.26.3 - https://pypi.org/project/simple-ddl-parser/ . test added: https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_simple_ddl_parser.py#L2625. If will be any new issues - fill free to open the new ticket