liuml07 opened a new pull request, #4:
URL: https://github.com/apache/flink-connector-jdbc/pull/4
## What is the purpose of the change
Currently the `PostgresCatalog#listTables()` creates a new connection and
prepared statement for every schema and table when listing tables. This can be
optimized by reusing those resources.
## Brief change log
*(for example:)*
- Introduce `extractColumnValuesByStatement` in base class
`AbstractJdbcCatalog`
- Reuse connection and prepared in `PostgresCatalog#listTables()`
This is moved from apache/flink#21146
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]