JiajunBernoulli commented on code in PR #3501:
URL: https://github.com/apache/calcite/pull/3501#discussion_r1382339866


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -10497,6 +10497,27 @@ private static void 
checkArrayConcatAggFuncFails(SqlOperatorFixture t) {
         "[1         , 2         , Hi        , null]", "CHAR(10) ARRAY NOT 
NULL");
   }
 
+  /**
+   * Test case for
+   * <a 
href="https://issues.apache.org/jira/browse/CALCITE-6091";>[CALCITE-6091]
+   * Char that in array or map is truncated in CASE WHEN statement</a>.
+   */
+  @Test void testTruncatedCharInCaseWhen() {

Review Comment:
   @mihaibudiu , Thanks for your review.
   
   I change the JIRA summary because 
https://issues.apache.org/jira/browse/CALCITE-4603 has been resolved.
   I just add the case if `types` has null.



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