Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23007

Introduce java code splitter to split generated code

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.14.0
    • Table SQL / Runtime
    • None

    Description

      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.

       

      We can add this splitter in CompileUtils, then, every compile class can be split.

      Attachments

        Issue Links

          Activity

            People

              TsReaper Caizhi Weng
              lzljs3620320 Jingsong Lee
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: