You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2015/12/03 18:44:11 UTC

[jira] [Updated] (FLINK-3098) Cast from Date to Long throw compile error.

     [ https://issues.apache.org/jira/browse/FLINK-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther updated FLINK-3098:
--------------------------------
    Affects Version/s:     (was: 0.10.1)
                       1.0.0

> Cast from Date to Long throw compile error.
> -------------------------------------------
>
>                 Key: FLINK-3098
>                 URL: https://issues.apache.org/jira/browse/FLINK-3098
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API
>    Affects Versions: 1.0.0
>            Reporter: Chengxiang Li
>            Assignee: Chengxiang Li
>             Fix For: 1.0.0
>
>
> While cast Date to Long in Table API, the generated code throw comile error. Looks like:
> {code}
> Caused by: org.codehaus.commons.compiler.CompileException: Line 33, Column 23: Expression "result$5" is not an rvalue
> 	at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:10062)
> 	at org.codehaus.janino.UnitCompiler.toRvalueOrCompileException(UnitCompiler.java:5960)
> 	at org.codehaus.janino.UnitCompiler.compileContext2(UnitCompiler.java:3172)
> 	at org.codehaus.janino.UnitCompiler.access$5400(UnitCompiler.java:182)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)