You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Konstantin Knauf (Jira)" <ji...@apache.org> on 2021/07/29 07:28:16 UTC

[jira] [Reopened] (FLINK-13108) Remove duplicated type cast in generated code

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

Konstantin Knauf reopened FLINK-13108:
--------------------------------------

Re-opening in accordance with https://issues.apache.org/jira/browse/FLINK-23206.

> Remove duplicated type cast in generated code
> ---------------------------------------------
>
>                 Key: FLINK-13108
>                 URL: https://issues.apache.org/jira/browse/FLINK-13108
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Minor
>              Labels: auto-closed, pull-request-available, stale-assigned
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are duplicated cast operations in the generated code. For example, to run org.apache.flink.table.runtime.batch.sql.join.JoinITCase#testJoin, the generated code looks like this:
>         {{@Override}}
>         {{public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord element) throws Exception {}}
>           {{org.apache.flink.table.dataformat.BaseRow in1 = (org.apache.flink.table.dataformat.BaseRow) (org.apache.flink.table.dataformat.BaseRow) converter$0.toInternal((org.apache.flink.types.Row) element.getValue());}}
>           {{...}}
> This issue removes the duplicated type casts.



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