You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/11 14:53:00 UTC

[GitHub] [flink] matriv commented on pull request #19426: [FLINK-25928] Throw validation error early for CAST

matriv commented on PR #19426:
URL: https://github.com/apache/flink/pull/19426#issuecomment-1095153446

   Added the validation only in the `supportsExplicitCasting` as there are cases where we do implicit casting between TIMESTAMP and numeric, i.e. In `TemporalTypesTest`: 
   ```
       testAllApis(
         'f2 + 10.days + 4.millis,
         "f2 + INTERVAL '10 00:00:00.004' DAY TO SECOND",
         "1990-10-24 10:20:45.127")
   ```


-- 
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-unsubscribe@flink.apache.org

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