You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`col_name` varchar(5) CHECK( `col_name` IN ('year', 'month') ),
With silent=False we get an error like:
File ".../lib/python3.9/site-packages/simple_ddl_parser/ddl_parser.py", line 199, in p_error
raise DDLParserError(f"Unknown statement at {p}")
simple_ddl_parser.ddl_parser.DDLParserError: Unknown statement at LexToken(STRING,"'year'",1,544)
Using OR statements becomes unwieldy when there are more than a handful of options in the enum so it would be nice to support this. Thanks.
The text was updated successfully, but these errors were encountered:
Using the
IN
keyword in aCHECK
causes parsing to fail. For example:Works but with an
IN
statement doesn't:With
silent=False
we get an error like:Using OR statements becomes unwieldy when there are more than a handful of options in the enum so it would be nice to support this. Thanks.
The text was updated successfully, but these errors were encountered: