[ 
https://issues.apache.org/jira/browse/FLINK-31021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687368#comment-17687368
 ] 

Krzysztof Chmielewski commented on FLINK-31021:
-----------------------------------------------

Hi, i have few questions.
1. Could you provide full body of original decode method? 
 2. do you have sql query that reproduces the problem?

3. You marked affect version as 1.16.1 and below. Did you in fact had this on 
those or on a current master? Im asking because recently there was a change in 
code splitter merged to master 1.17 and 1.16 release that is not included in 
1.16.1 so I'm wondering if this is a regression or something new.

Let me know,
Cheers.

> JavaCodeSplitter doesn't split static method properly
> -----------------------------------------------------
>
>                 Key: FLINK-31021
>                 URL: https://issues.apache.org/jira/browse/FLINK-31021
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.14.4, 1.15.3, 1.16.1
>            Reporter: Xingcan Cui
>            Priority: Minor
>
> The exception while compiling the generated source
> {code:java}
> cause=org.codehaus.commons.compiler.CompileException: Line 3383, Column 90: 
> Instance method "default void 
> org.apache.flink.formats.protobuf.deserialize.GeneratedProtoToRow_655d75db1cf943838f5500013edfba82.decodeImpl(foo.bar.LogData)"
>  cannot be invoked in static context,{code}
> The original method header 
> {code:java}
> public static RowData decode(foo.bar.LogData message){{code}
> The code after split
>  
> {code:java}
> Line 3383: public static RowData decode(foo.bar.LogData message){ 
> decodeImpl(message); return decodeReturnValue$0; } 
> Line 3384:
> Line 3385: void decodeImpl(foo.bar.LogData message) {{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to