SQL codegen bytecode beyond 64KB.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SQL codegen bytecode beyond 64KB.

563280193@qq.com

Hi all,
    I run a very long sql file . It occur a error like this:
    "Code of method "split$1931$(LDataStreamCalcRule$1933;)V" of class "DataStreamCalcRule$1933" grows beyond 64 KB"
    My Flink version is 1.6.3
    Anyone could help me to resolve this issue, thanks!
devin.


[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: SQL codegen bytecode beyond 64KB.

Timo Walther-2
Hi,

this is a known problem that occurs if you have big expressions. For
example, a big CASE WHEN clause. Currenlty, we only split by field not
within expressions. But this might be fixed soon as there is a PR
available [1].

As a workaround, use a UDF instead.

Regards,
Timo

[1] https://github.com/apache/flink/pull/6921


Am 10.01.19 um 08:39 schrieb [hidden email]:
> Hi all,
>      I run a very long sql file . It occur a error like this:
>      "Code of method "split$1931$(LDataStreamCalcRule$1933;)V" of class "DataStreamCalcRule$1933" grows beyond 64 KB"
>      My Flink version is 1.6.3
>      Anyone could help me to resolve this issue, thanks!
> devin.
>
>
> [hidden email]