flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chengxiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3098) Cast from Date to Long throw compile error.
Date Wed, 02 Dec 2015 05:56:10 GMT
Chengxiang Li created FLINK-3098:

             Summary: 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:
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)

This message was sent by Atlassian JIRA

View raw message