xuzifu666 commented on code in PR #4287:
URL: https://github.com/apache/calcite/pull/4287#discussion_r2029631454
##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -9474,6 +9474,25 @@ private void checkLiteral2(String expression, String
expected) {
sql(sql).ok(expected);
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-6937">[CALCITE-6937]
+ * Hive/Phoenix can not support REAL type</a>. */
+ @Test void testRealTypesCast() {
Review Comment:
Emm,no other proposing currently,whether can do it like the pr firstly,it is
difficult to cover all kind of cases such as array or other kind of complex
type, it need to unparse all type with REAL,this pr resolve cast to real
first,do you agree about it? thanks.@mihaibudiu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]