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

Sergey Nuyanzin resolved FLINK-34014.
-------------------------------------
    Fix Version/s: jdbc-3.2.0
       Resolution: Fixed

> 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
>             Fix For: jdbc-3.2.0
>
>
> 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)

Reply via email to