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

Sergey Nuyanzin updated FLINK-36417:
------------------------------------
    Fix Version/s: 1.19.2
                   1.20.1

> STATE_TTL doesn't work with WatermarkAssigner
> ---------------------------------------------
>
>                 Key: FLINK-36417
>                 URL: https://issues.apache.org/jira/browse/FLINK-36417
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>             Fix For: 1.19.2, 1.20.1, 2.0-preview
>
>
> A query to reproduce
> {code:sql}
> SELECT /*+ STATE_TTL('st'='1d', 'vt' = '3d') */ st.* FROM SimpleTable st 
> LEFT JOIN(SELECT DISTINCT b FROM VirtualTable) vt 
>            ON st.b = vt.b WHERE vt.b IS NOT NULL
> {code}
> It fails with not being able to find table with name {{st}}.
> The reason is that if we look into a plan there is WatermarkAssigner which 
> doesn't support hints



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to