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