Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Table SQL / Runtime
    • None

    Description

      In OLAP scenarios, compiling generated classes is very frequent, it will consume a lot of CPU and large amount of generated classes will also takes up a lot of space in metaspace, which will lead to frequent Full GC.

      As we use a self-incrementing counter in CodeGenUtils#newName, it means we could not get the same generated class between two queries even when they are exactly the same. Maybe we could share the same generated class between different queries if they has the same logic, it will be good for job latency and resource consumption. 

      Attachments

        Issue Links

          Activity

            People

              FrankZou Dan Zou
              FrankZou Dan Zou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: