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


##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -2514,9 +2514,8 @@ private SqlDialect nonOrdinalDialect() {
    */
   @Test void testCastArrayCharset() {
     final String query = "select cast(array['a', 'b', 'c'] as varchar array)";
-    final String expected = "SELECT CAST(ARRAY ('a', 'b', 'c') AS VARCHAR 
ARRAY)";
     sql(query)
-        .withHive().ok(expected);
+        .withHive().throws_("Hive dialect does not support cast to ARRAY");

Review Comment:
   @JiajunBernoulli you wrote this test originally, is it indeed incorrect?



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