Sergey Nuyanzin created FLINK-36417:
---------------------------------------
Summary: 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
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)