[ 
https://issues.apache.org/jira/browse/FLINK-41790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser updated FLINK-41790:
-----------------------------------
         Release Note: Streaming OVER windows that the runtime does not support 
now fail during planning, so EXPLAIN and COMPILE PLAN reject them with a 
message naming the condition, instead of failing at job submission.
    Affects Version/s: 2.5.0

> Reject unsupported streaming OVER windows during planning
> ---------------------------------------------------------
>
>                 Key: FLINK-41790
>                 URL: https://issues.apache.org/jira/browse/FLINK-41790
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>    Affects Versions: 2.5.0
>            Reporter: Martijn Visser
>            Assignee: Martijn Visser
>            Priority: Major
>
> A streaming OVER window that the runtime can't run still compiles into a plan 
> and only fails at job submission. That covers a descending or second order 
> key, no ORDER BY, a frame that doesn't end at CURRENT ROW, an offset 
> PRECEDING on a non-time column, LEAD, NTILE, CUME_DIST, PERCENT_RANK, and the 
> Python UDAF limits. A compiled plan then can't be run, and the message ("The 
> window can only be ordered in ASCENDING mode.") doesn't say which column is 
> the problem.
> FLINK-40449 did the same for streaming ORDER BY: check in the physical rule, 
> keep the exec node check for loaded plans. Over 13,780 query combinations, 
> 4,016 compile and then fail at submission on master; none of the queries that 
> run today are affected.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to