[
https://issues.apache.org/jira/browse/FLINK-25111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451756#comment-17451756
]
Francesco Guardiani commented on FLINK-25111:
---------------------------------------------
Agree, I suggest to create another {{@TestFactory}} within the
{{CastRulesTest}} to create test cases for legacy tests, and that's it
> Introduce config option to keep previous CAST behaviour
> -------------------------------------------------------
>
> Key: FLINK-25111
> URL: https://issues.apache.org/jira/browse/FLINK-25111
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API, Table SQL / Planner
> Reporter: Marios Trivyzas
> Assignee: Marios Trivyzas
> Priority: Major
>
> Introduce a new config option which will allow the users to experience the
> previous behaviour of the `CAST` without any of the fixes/changes, and most
> importantly, when casting fails, *null* will still be returned instead of
> throwing an error, and requiring use of *TRY_CAST* to be able to return a
> default value.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)