trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

[WIP] Support JDBC validate connection #24127

Open xsgao-github opened 1 week ago

xsgao-github commented 1 week ago

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. (x) Release notes are required, with the following suggested text:

## Section
* Fix JDBC `Connection.isValid(int)` which does not validate connection and/or credentials. ({issue}`22684`)
* Add `validateConnection` JDBC property that allows validating connection when making a JDBC connection. ({issue}`16504`)