Skip to content

Support detection of REFRESH queries #797

@namiyousef

Description

@namiyousef

Is your feature request related to a problem? Please describe.
I tried using sqlparse to get the type of the following query:
REFRESH MATERIALIZED VIEW order_summary; but it results in UNKNOWN. Upon further exploration I see that there is no REFRESH keyword in keywords.py

Describe the solution you'd like
Addition of REGEX pattern for ability to identity such queries, or the addition of the REFRESH and MATERIALIZED keywords in keywords.py

Describe alternatives you've considered
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions