simple-ddl-parser
simple-ddl-parser copied to clipboard
Parsing fails for GENERATED ALWAYS AS expressions that use a cast
Minimal example:
CREATE TABLE test (
timestamp TIMESTAMP,
date DATE GENERATED ALWAYS AS (CAST(timestamp AS DATE))
)
Trying to dig into the code to see if I can issue a PR for this myself.