-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cast operator ::
#23795
Comments
Hi @findepi Would like to give this shot. |
The SQL spec reserves double colon for static method invocations, so that's incompatible with this proposed cast syntax.
For example, given:
|
@martint If I understood correctly, this would make the grammar ambiguous? Since many dbs are not following the spec and having The shorthand |
Add type-cast operator `::`
Add support for
x::type
cast operator as an alternative syntax forCAST(x AS type)
.x::type
syntaxThe text was updated successfully, but these errors were encountered: