You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2022/01/03 10:26:00 UTC
[jira] [Commented] (FLINK-25484) TableRollingPolicy do not support inactivityInterval config which is supported in datastream api
[ https://issues.apache.org/jira/browse/FLINK-25484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467889#comment-17467889 ]
Fabian Paul commented on FLINK-25484:
-------------------------------------
[~lichang] on first glance it should be possible to support this as well in the Table API. [~lzljs3620320] wdyt?
> 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
> Priority: Major
> Fix For: 1.15.0
>
>
> 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)