Skip to content

Support SQL:2023 static methods #7668

@gertjanal

Description

@gertjanal

SQL:2023 specifies — T::method(args) — for functions associated with a type.

Describe the solution you'd like
Hopefully it is possible to add this to sqlglot, currently is fails on parsing the ::

Additional context
The PR for implementation in Trino can be found here trinodb/trino#29385

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