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
Is your feature request related to a problem? Please describe.
We have some SQL which defines array lengths in the schema for the purposes of documentation (since Postgres currently ignores the length in the implementation). sqlglot is unable to parse this SQL.
sqlglot.parse_one('CREATE TABLE t (col int[3])', dialect='postgres')
Describe the solution you'd like
Support the array length syntax.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have some SQL which defines array lengths in the schema for the purposes of documentation (since Postgres currently ignores the length in the implementation).
sqlglot
is unable to parse this SQL.Describe the solution you'd like
Support the array length syntax.
The text was updated successfully, but these errors were encountered: