[
https://issues.apache.org/jira/browse/FLINK-35240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841301#comment-17841301
]
Zhongqiang Gong commented on FLINK-35240:
-----------------------------------------
[~afedulov] I opened a pr to patch this issue. Would like help me review? Thank
you~ :)
> Disable FLUSH_AFTER_WRITE_VALUE to avoid flush per record
> ---------------------------------------------------------
>
> Key: FLINK-35240
> URL: https://issues.apache.org/jira/browse/FLINK-35240
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / FileSystem
> Reporter: Zhongqiang Gong
> Priority: Minor
> Labels: pull-request-available
> Attachments: image-2024-04-26-00-23-29-975.png,
> image-2024-04-26-17-16-07-925.png, image-2024-04-26-17-16-20-647.png,
> image-2024-04-26-17-16-30-293.png, screenshot-1.png
>
>
> *Reproduce:*
> * According to user email:
> https://lists.apache.org/thread/9j5z8hv4vjkd54dkzqy1ryyvm0l5rxhc
> * !image-2024-04-26-00-23-29-975.png!
> *Analysis:*
> * `org.apache.flink.formats.csv.CsvBulkWriter#addElement` will flush per
> record.
> *Solution:*
> * I think maybe we can disable `FLUSH_AFTER_WRITE_VALUE` to avoid flush when
> a record added.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)