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
Some columns with type character varying are not parsed when NOT NULL constraint does not exist for the column. Please see 3 example inputs and outputs below. CREATE TABLE statements are generated by pg_dump command in Postgres.
To Reproduce
run result = parse_from_file(path_to_ddl_sql) for the inputs below:
Input-1:
CREATE TABLE myset.mytable (
id_a character varying,
id_b character varying,
id_c character varying
);
Output-1: There were 3 columns in the input but only 1 column is parsed.
Describe the bug
Some columns with type
character varying
are not parsed whenNOT NULL
constraint does not exist for the column. Please see 3 example inputs and outputs below.CREATE TABLE
statements are generated bypg_dump
command inPostgres
.To Reproduce
run
result = parse_from_file(path_to_ddl_sql)
for the inputs below:NOT NULL
constraint toid_b
column.NOT NULL
constraint toid_c
column, too.Expected behavior
All 3 columns from
Input-1
should be parsed intoOutput-1
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: