[ 
https://issues.apache.org/jira/browse/FLINK-24462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Guardiani updated FLINK-24462:
----------------------------------------
    Description: The goal of this issue is to reorganize CAST logic in rules, 
similarly to DataStructureConverter. This makes the casting rules easier to 
debug and extend, allows us to reuse some of the rules for 
https://issues.apache.org/jira/browse/FLINK-21456 without duplicating any code 
and simplifies/cleanups the code generator code base. These rules can be reused 
in the context of https://issues.apache.org/jira/browse/FLINK-24385 as well.  
(was: The goal of this issue is to reorganize CAST logic in rules, similarly to 
DataStructureConverter. This makes the casting rules easier to debug and 
extend, allows us to reuse some of the rules for 
https://issues.apache.org/jira/browse/FLINK-21456 without duplicating any code 
and simplifies/cleanups the code generator code base. These rules can be reused 
in the context of https://issues.apache.org/jira/browse/FLINK-24385 as well.

A PoC of such new architecture is available here: 
https://github.com/apache/flink/compare/master...slinkydeveloper:FLINK-24462?diff-6f90ac7f239d7823eadd86a723beac0199a84de6a17b477e8f3580e2dbd746cbR48)

> Refactor casting rules in a similar fashion to DataStructureConverter
> ---------------------------------------------------------------------
>
>                 Key: FLINK-24462
>                 URL: https://issues.apache.org/jira/browse/FLINK-24462
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: Francesco Guardiani
>            Assignee: Francesco Guardiani
>            Priority: Major
>
> The goal of this issue is to reorganize CAST logic in rules, similarly to 
> DataStructureConverter. This makes the casting rules easier to debug and 
> extend, allows us to reuse some of the rules for 
> https://issues.apache.org/jira/browse/FLINK-21456 without duplicating any 
> code and simplifies/cleanups the code generator code base. These rules can be 
> reused in the context of https://issues.apache.org/jira/browse/FLINK-24385 as 
> well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to