Hi all,

We are facing an issue when trying to integrate PostgreSQL with Flink JDBC. 
When you establish a connection to the PostgreSQL database, it is in 
auto-commit mode. It means that each SQL statement is treated as a transaction 
and is automatically committed, but this functionality results in unexpected 
behavior (e.g., out-of-memory errors) when executed for large result sets. In 
order to bypass such issues, we must disable the auto-commit mode. To do this, 
in a simple Java application, we call the setAutoCommit() method of the 
Connection object.

So, my question is: How can we achieve this by using JDBCInputFormat of Flink?

Thanks in advance,

Konstantinos

Reply via email to