[jira] [Created] (FLINK-23007) Introduce java code splitter to split generated code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-23007) Introduce java code splitter to split generated code

Shang Yuanchun (Jira)
Jingsong Lee created FLINK-23007:
------------------------------------

             Summary: Introduce java code splitter to split generated code
                 Key: FLINK-23007
                 URL: https://issues.apache.org/jira/browse/FLINK-23007
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / Runtime
            Reporter: Jingsong Lee
             Fix For: 1.14.0


Current lots of "code of method of class grows beyond 64k".

We have fixed by:

https://issues.apache.org/jira/browse/FLINK-15430

https://issues.apache.org/jira/browse/FLINK-16589

But this approach is not perfect. It has many corner cases.

 

We can introduce a post java class splitter, based on antlr4, anaysis code and split method to multi-methods.



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