-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[CALCITE-6771] Convert Type from FLOAT to DOUBLE in PrestoDialect #4132
base: main
Are you sure you want to change the base?
Conversation
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java
Outdated
Show resolved
Hide resolved
3b876a7
to
8086321
Compare
b367390
to
fba35ad
Compare
@@ -9093,6 +9093,20 @@ private void checkLiteral2(String expression, String expected) { | |||
sql(query).withOracle().ok(oracle); | |||
} | |||
|
|||
/** Test case for | |||
* <a href="https://issues.apache.org/jira/browse/CALCITE-6771">[CALCITE-6771] | |||
* Convert Type from FLOAT to DOUBLE in PrestoDialect </a>. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: No space in PrestoDialect
and </a>
;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: No space in
PrestoDialect
and</a>
;
Done.
969cecb
to
09b6d31
Compare
Quality Gate passedIssues Measures |
Since FLOAT type is not supported in Presto
According to the documentation: https://prestodb.io/docs/current/language/types.html#real
Using CAST(xxxx AS FLOAT) will result in an error:
It should be converted to the DOUBLE type instead.