xuzifu666 commented on code in PR #4287:
URL: https://github.com/apache/calcite/pull/4287#discussion_r2028018121


##########
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:
   @mihaibudiu Thanks for the reminder,  I had test about it and currently it 
not support convert  in nested type(such as array), as follow:
   **select cast(array[1.0, 2.1, 3.3] as real array) —> SELECT CAST(ARRAY (1.0, 
2.1, 3.3) AS REAL ARRAY)**
   
   but this pr is just handle with unnested type, I would plan to file a new 
issue and PR to resolve for nested type support, WDYT?
   



-- 
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]

Reply via email to