Closed xsgao-github closed 7 months ago
The current design of CAP_FORCE_CONNECTION_VERIFICATION
does not check the result of the probe query beyond that it does not fail. The probe query should always SELECT 1
for a connector built from the SDK. The probe query is also used to test lifetime and disconnect scenarios as well.
What is your desired use case with a potential customization?
My bad. The probe query is SELECT 1
.
I would like to add some validation on Tableau connector. For example, if the server does not meet the minimum version of server requirement, error it out.
Ok, that makes sense. Please open an issue about your desire to enforce the minimum server version as a part of defining a connector. Anything like this would be decoupled from CAP_FORCE_CONNECTION_VERIFICATION
.
I'll make sure it gets tagged as a potential enhancement. Thanks.
Feature request here https://github.com/tableau/connector-plugin-sdk/issues/1210
About You: Name: Song Gao Company: Starburst Data
Your question: We are using the Trino JDBC driver and enabled
CAP_FORCE_CONNECTION_VERIFICATION
in our connector per this doc:Now I see Tableau always sends a query
select version()
during connection.My questions are: