Sergey Nuyanzin created FLINK-41380:
---------------------------------------
Summary: Make generated code in case of CASE ... WHEN friendlier
to code splitter
Key: FLINK-41380
URL: https://issues.apache.org/jira/browse/FLINK-41380
Project: Flink
Issue Type: Technical Debt
Components: Table SQL / Runtime
Reporter: Sergey Nuyanzin
Assignee: Sergey Nuyanzin
The problem with generated code for {{CASE ... WHEN}} is that it is a nested
{{if..else}} which is very bad adapted to code splitter
as a result the output of code splitter grows fast
for instance
{noformat}
amount of conditions chars lines
fields methods depth
2 5080 182 4 4 5
3 6311 253 25 4 6
4 7815 330 31 6 7
5 9153 388 37 7 8
10 15089 658 67 7 13
100 935230 6626 607 471 3
1000 242427582 100838 6007 10858 3
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)