Login  Register

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

Posted by Shang Yuanchun (Jira) on Jun 16, 2021; 7:26am
URL: http://deprecated-apache-flink-mailing-list-archive.368.s1.nabble.com/jira-Created-FLINK-23007-Introduce-java-code-splitter-to-split-generated-code-tp51401.html

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)