-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
implicit cast to "double precision" is not supported #1344
Comments
This kind of implicit cast is not supported (yet). SELECT CAST('1' AS DOUBLE)
; |
This also seems to work: SELECT '1'::Double
; |
thanks for the workaround, it'd be great if this can be supported in the future though :) |
double precision is definitly supported select 1::double precision however, this syntax |
thanks for the note, updated the title :) |
I am closing this since it is not support and won't be supported (unless any genius provided a PR). |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
SELECT double precision '1'
org.junit.ComparisonFailure: Expected query to parse but it failed to parse (error: Encountered unexpected token: "\'1\'" <S_CHAR_LITERAL>
Expected behavior
query to parse
System
The text was updated successfully, but these errors were encountered: