[ https://issues.apache.org/jira/browse/FLINK-35334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847765#comment-17847765 ]
Simon Lee commented on FLINK-35334: ----------------------------------- Hi [~TsReaper] , I noticed that you solved a similar issue before: https://issues.apache.org/jira/browse/FLINK-35334 Could you please take a look at this issue if you have some bandwidth? Thank you very much! > Code generation: init method exceeds 64 KB when there is a long array field > with Table API > ------------------------------------------------------------------------------------------ > > Key: FLINK-35334 > URL: https://issues.apache.org/jira/browse/FLINK-35334 > Project: Flink > Issue Type: Bug > Components: Table SQL / API, Table SQL / Runtime > Affects Versions: 1.17.1 > Reporter: Simon Lee > Priority: Blocker > > Hi team, > I encountered the following error when trying to execute SQL on a table that > has rows with fields that are long arrays (e.g., array length > 200): > {code:java} > Caused by: java.lang.RuntimeException: Could not instantiate generated class > 'BatchExecCalc$4950' > at > org.apache.flink.table.runtime.generated.GeneratedClass.newInstance(GeneratedClass.java:84) > ... > Caused by: org.codehaus.janino.InternalCompilerException: Code of method > "<init>([Ljava/lang/Object;Lorg/apache/flink/streaming/runtime/tasks/StreamTask;Lorg/apache/flink/streaming/api/graph/StreamConfig;Lorg/apache/flink/streaming/api/operators/Output;Lorg/apache/flink/streaming/runtime/tasks/ProcessingTimeService;)V" > of class "BatchExecCalc$4950" grows beyond 64 KB {code} > A minimal example that reproduces the situation described above: > [https://gist.github.com/nlpersimon/df71c0bec93c13667965ce1706099fdb] > After running the example with Intellij, I got this output: > [https://gist.github.com/nlpersimon/f741b79c37da7426aeefc7a157cdd124] > Please let me know if you need any other information. Thank you! -- This message was sent by Atlassian Jira (v8.20.10#820010)