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
In CREATE MATERIALIZED VIEW statements MATERIALIZED is not recognized as a keyword.
To Reproduce
importsqlparseparsed=sqlparse.parse('create materialized view x.y.z as select 1 as id')[0]
print(parsed.tokens[2].is_keyword) # This should be Trueprint(parsed.tokens[2].normalized) # This should be "MATERIALIZED" (uppercased)
Expected behavior
In CREATE MATERIALIZED VIEW statements MATERIALIZED should be recognized as a keyword, and thus should also be automatically uppercased in the normalized property.
Versions (please complete the following information):
Python: 3.10.7
sqlparse: 0.4.4
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
In
CREATE MATERIALIZED VIEW
statementsMATERIALIZED
is not recognized as a keyword.To Reproduce
Expected behavior
In
CREATE MATERIALIZED VIEW
statementsMATERIALIZED
should be recognized as a keyword, and thus should also be automatically uppercased in thenormalized
property.Versions (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: