matriv commented on a change in pull request #17579:
URL: https://github.com/apache/flink/pull/17579#discussion_r740022369



##########
File path: 
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/CastFunctionITCase.java
##########
@@ -88,9 +130,10 @@ protected Configuration configuration() {
                         // https://issues.apache.org/jira/browse/FLINK-24413 - 
Trim to precision
                         // in this case down to 3 chars
                         .fromCase(STRING(), "abcdef", "abcdef") // "abc"
-                        .fromCase(DATE(), LocalDate.parse("2021-09-30"), 
"2021-09-30") // "202"
+                        .fromCase(DATE(), DEFAULT_DATE, "2021-09-24") // "202"

Review comment:
       "trim to 3 chars" due to the `CHAR(3)`




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to