[
https://issues.apache.org/jira/browse/FLINK-13200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-13200:
-----------------------------------
Labels: pull-request-available stale-assigned stale-minor (was:
pull-request-available stale-minor)
> Improve the generated code for if statements
> --------------------------------------------
>
> Key: FLINK-13200
> URL: https://issues.apache.org/jira/browse/FLINK-13200
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Minor
> Labels: pull-request-available, stale-assigned, stale-minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the generated code, we often code snippet like this:
>
> if (true) {
> acc$6.setNullAt(1);
> } else {
> acc$6.setField(1, ((int) -1));;
> }
> Such code impacts the code readability, and increases the code size, making
> it more costly for compiling and transferring through network.
>
> In this issue, we remove such useless if conditions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)