[
https://issues.apache.org/jira/browse/FLINK-34014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin reassigned FLINK-34014:
---------------------------------------
Assignee: Jeyhun Karimov
> Jdbc connector can avoid send empty insert to database when there's no buffer
> data
> ----------------------------------------------------------------------------------
>
> Key: FLINK-34014
> URL: https://issues.apache.org/jira/browse/FLINK-34014
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / JDBC
> Reporter: luoyuxia
> Assignee: Jeyhun Karimov
> Priority: Major
> Labels: pull-request-available
>
> In jdbc connector, we will have a background thread to flush buffered data to
> database, but when no data is in buffer, we can avoid the flush to database.
> we can avoid it in method JdbcOutputFormat#attemptFlush or in
> JdbcBatchStatementExecutor like TableBufferedStatementExecutor which can
> aovid calling {{statementExecutor.executeBatch()}} when buffer is empty
--
This message was sent by Atlassian Jira
(v8.20.10#820010)