You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Marios Trivyzas (Jira)" <ji...@apache.org> on 2022/04/19 11:24:00 UTC

[jira] [Created] (FLINK-27312) Implicit casting should be introduced with Rules during planning

Marios Trivyzas created FLINK-27312:
---------------------------------------

             Summary: Implicit casting should be introduced with Rules during planning
                 Key: FLINK-27312
                 URL: https://issues.apache.org/jira/browse/FLINK-27312
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Planner
            Reporter: Marios Trivyzas


Currently we do implicit casting directly in the code generation, and the plan is not in sync with what is happening under the hood (in the generated code).

Ideally implicit casting should be introduced where necessary at an earlier stage, during planning with a Rule, so that one can exactly see from the plan produced what are the operations introduced automatically (implicit casting) to make the SQL executable.

See for example: https://issues.apache.org/jira/browse/FLINK-27247



--
This message was sent by Atlassian Jira
(v8.20.1#820001)