simple-ddl-parser icon indicating copy to clipboard operation
simple-ddl-parser copied to clipboard

Parsing fails for GENERATED ALWAYS AS expressions that use a cast

Open bholzer opened this issue 2 years ago • 0 comments

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.

bholzer avatar May 23 '23 07:05 bholzer