diff --git a/packages/server/src/integrations/snowflake.ts b/packages/server/src/integrations/snowflake.ts index 46a40b8b03..7b35968aaf 100644 --- a/packages/server/src/integrations/snowflake.ts +++ b/packages/server/src/integrations/snowflake.ts @@ -71,6 +71,15 @@ class SnowflakeIntegration { this.client = new Snowflake(config) } + async testConnection() { + try { + await this.client.connect() + return true + } catch (e: any) { + return { error: e.message as string } + } + } + async internalQuery(query: SqlQuery) { await this.client.connect() try {