[
https://issues.apache.org/jira/browse/FLINK-25484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingsong Lee closed FLINK-25484.
--------------------------------
Resolution: Fixed
master: 1abe951e3dea7f5cbe65a822a6e0971e03b32608
> TableRollingPolicy do not support inactivityInterval config which is
> supported in datastream api
> ------------------------------------------------------------------------------------------------
>
> Key: FLINK-25484
> URL: https://issues.apache.org/jira/browse/FLINK-25484
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / FileSystem, Table SQL / Ecosystem
> Affects Versions: 1.15.0
> Reporter: LiChang
> Assignee: LiChang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
> Attachments: image-2022-01-13-11-36-24-102.png
>
>
> TableRollingPolicy do not support inactivityInterval config
> public static class TableRollingPolicy extends
> CheckpointRollingPolicy<RowData, String> {
> private final boolean rollOnCheckpoint;
> private final long rollingFileSize;
> private final long rollingTimeInterval;
> public TableRollingPolicy(
> boolean rollOnCheckpoint, long rollingFileSize, long rollingTimeInterval) {
> this.rollOnCheckpoint = rollOnCheckpoint;
> Preconditions.checkArgument(rollingFileSize > 0L);
> Preconditions.checkArgument(rollingTimeInterval > 0L);
> this.rollingFileSize = rollingFileSize;
> this.rollingTimeInterval = rollingTimeInterval;
> }
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)