-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Describe the bug
The following is not parsed. Seems that the "case" statement is not supported.
create table pole.t_spiel (
id varchar(10) not null
constraint t_spiel_pk
primary key,
v_id varchar(10) generated always as (
CASE
WHEN ((id)::text ~ '^\d+$'::text) THEN (lpad((id)::text, 2, '0'::text))::character varying
ELSE id
END) stored
);
To Reproduce
Steps to reproduce the behavior:
Parse with simple_ddl_parser
Desktop (please complete the following information):
- OS: Kubuntu
- Python 3.12
- Postgres
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels