Leonard Xu created FLINK-24081:
----------------------------------

             Summary: OVER window throws exception when the rowtime is 
timestamp_ltz type
                 Key: FLINK-24081
                 URL: https://issues.apache.org/jira/browse/FLINK-24081
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.14.0
            Reporter: Leonard Xu


 The exception as following:
{code:java}
org.apache.flink.table.api.TableException: OVER windows' ordering in stream 
mode must be defined on a time attribute. at 
org.apache.flink.table.planner.plan.nodes.exec.stream.StreamExecOverAggregate.translateToPlanInternal(StreamExecOverAggregate.java:158)
 at 
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase.translateToPlan(ExecNodeBase.java:134)
 at 
org.apache.flink.table.planner.plan.nodes.exec.ExecEdge.translateToPlan(ExecEdge.java:250)
 at 
org.apache.flink.table.planner.plan.nodes.exec.common.CommonExecCalc.translateToPlanInternal(CommonExecCalc.java:88)
 at 
org.apache.flink.table.planner.plan.nodes.exec.ExecNodeBase.translateToPlan(ExecNodeBase.java:134)
 at 
org.apache.flink.table.planner.plan.nodes.exec.ExecEdge.translateToPlan(ExecEdge.java:250)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to