flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3098) Cast from Date to Long throw compile error.
Date Thu, 03 Dec 2015 17:42:11 GMT

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

ASF GitHub Bot commented on FLINK-3098:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/1431


> 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: 0.10.1
>            Reporter: Chengxiang Li
>            Assignee: Chengxiang Li
>
> 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)

Mime
View raw message