You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Kirill Lyashko <ki...@gmail.com> on 2025/04/03 14:32:54 UTC
Paimon table retention
Hi all,
I have a Paimon table that is continuously populated by a streaming job
based on incoming data.
I need to evict records from the table once they are no longer used—where
"not used" can be defined by a SQL query.
From what I’ve observed, running such a query in a separate batch job
requires suspending the streaming job. This is because multiple writers to
the same Paimon table can cause conflicts, potentially resulting in job
failures.
Additionally, I haven't found a way to periodically schedule such a cleanup
query within the streaming application itself.
What would be the best way to handle this use case?