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
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
The text was updated successfully, but these errors were encountered:
erwin-frohsinn
changed the title
Case Satement in postgresql not supported
Case Statement in postgresql not supported
Jul 7, 2024
Describe the bug
The following is not parsed. Seems that the "case" statement is not supported.
To Reproduce
Steps to reproduce the behavior:
Parse with simple_ddl_parser
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: