You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "ZhuoYu Chen (Jira)" <ji...@apache.org> on 2021/12/09 09:56:00 UTC
[jira] [Created] (FLINK-25232) flink sql supports fine-grained state configuration
ZhuoYu Chen created FLINK-25232:
-----------------------------------
Summary: flink sql supports fine-grained state configuration
Key: FLINK-25232
URL: https://issues.apache.org/jira/browse/FLINK-25232
Project: Flink
Issue Type: Improvement
Components: Table SQL / API
Reporter: ZhuoYu Chen
In production, I found that if I configure the TTL of the state in sql, it will cause this ttl time to take effect globally
If I have the following sql grouped by region:
select count(1),region from (select * from A join B on a.uid = b.uid)
If I configure a global TTL it will cause count the status of this GroupAggFunction to be eliminated, for example the accumulation will be cleared after one day
If I don't configure it, it will cause the status of Regular join to increase againĀ
--
This message was sent by Atlassian Jira
(v8.20.1#820001)