Skip to content

Conversation

@KSDaemon
Copy link
Member

@KSDaemon KSDaemon commented Jun 6, 2025

Introduce new env CUBEJS_DB_USE_SELECT_TEST_CONNECTION which if set to true switches testConnection() in Prestodb/Trino drivers to use SELECT 1 query for testConnection.

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

@KSDaemon KSDaemon marked this pull request as ready for review June 6, 2025 09:20
@KSDaemon KSDaemon requested review from a team as code owners June 6, 2025 09:20
…n flag

With this flag set to true - use `SELECT 1` query for testing connection
@KSDaemon KSDaemon force-pushed the feat/trino-fallback-test-connection branch from 0cb016b to a5fe556 Compare June 13, 2025 10:45
@KSDaemon KSDaemon merged commit 97b6bb4 into master Jun 18, 2025
73 checks passed
@KSDaemon KSDaemon deleted the feat/trino-fallback-test-connection branch June 18, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants