[ 
https://issues.apache.org/jira/browse/FLINK-18303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jark Wu closed FLINK-18303.
---------------------------
    Resolution: Fixed

- master (1.12.0): e2db1dcc6a5a60210a4452849048b915cf794aaf
- 1.11.0: 6b8eaa3fa83fb1fd30efe11ed0dd090ca25bcaf3

> Filesystem connector doesn't flush part files after rolling interval
> --------------------------------------------------------------------
>
>                 Key: FLINK-18303
>                 URL: https://issues.apache.org/jira/browse/FLINK-18303
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / FileSystem, Table SQL / Ecosystem
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>            Priority: Major
>             Fix For: 1.11.0
>
>
> I have set "execution.checkpointing.interval" to "5s" and 
> "sink.rolling-policy.time-interval" to "2s". However, it still take 60 
> seconds to see the first part file. 
> This can be reproduced by the following code in SQL CLI:
> {code:sql}
> CREATE TABLE CsvTable (
>   event_timestamp STRING,
>   `user` STRING,
>   message STRING,
>   duplicate_count BIGINT,
>   constant STRING
> ) WITH (
>   'connector' = 'filesystem',
>   'path' = '$RESULT',
>   'format' = 'csv',
>   'sink.rolling-policy.time-interval' = '2s'
> );
> INSERT INTO CsvTable -- read from Kafka Avro, and write into Filesystem Csv
> SELECT AvroTable.*, RegReplace('Test constant folding.', 'Test', 'Success') 
> AS constant
> FROM AvroTable;
> {code}
> This is found when I migrate SQLClientKafkaITCase to use DDL (FLINK-18086).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to