Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3098

Cast from Date to Long throw compile error.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Table SQL / API
    • None

    Description

      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)
      

      Attachments

        Activity

          People

            chengxiang li Chengxiang Li
            chengxiang li Chengxiang Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: