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

Ramin Gharib updated FLINK-41273:
---------------------------------
    Release Note: The Table API now supports {{union}}, {{intersect}}, 
{{intersectAll}}, {{minus}} and {{minusAll}} on unbounded tables. Previously 
these threw a {{ValidationException}} in streaming mode. They keep state per 
distinct row, so consider a state TTL for long-running queries. The SQL 
serialization of {{minus}} now emits {{EXCEPT}} instead of {{MINUS}}, which 
Flink SQL could not parse.

> Allow UNION, INTERSECT and EXCEPT on unbounded tables in the Table API
> ----------------------------------------------------------------------
>
>                 Key: FLINK-41273
>                 URL: https://issues.apache.org/jira/browse/FLINK-41273
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Timo Theusner
>            Assignee: Timo Theusner
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.5.0
>
>
> In streaming mode, {{SetOperationFactory#failIfStreaming}} rejects {{union}}, 
> {{intersect}}, {{intersectAll}}, {{minus}} and {{minusAll}}, although 
> streaming SQL runs {{UNION}}, {{INTERSECT}} and {{EXCEPT}} with the same 
> plans. Lift the check and also fix SQL serialization of {{minus}} in 
> {{SetQueryOperation#asSerializableString}} to render {{EXCEPT}}.



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

Reply via email to