diff --git a/csharp/test/Drivers/Interop/Snowflake/ClientTests.cs b/csharp/test/Drivers/Interop/Snowflake/ClientTests.cs index e895865024..94907caebc 100644 --- a/csharp/test/Drivers/Interop/Snowflake/ClientTests.cs +++ b/csharp/test/Drivers/Interop/Snowflake/ClientTests.cs @@ -142,6 +142,42 @@ public void CanClientExecuteQueryWithNoResults() } } + // + /// Validates if the client can connect to a live server + /// and parse the results. + /// + [SkippableFact, Order(4)] + public void CanClientExecuteQueryWithShowTerseTable() + { + SnowflakeTestConfiguration testConfiguration = Utils.LoadTestConfiguration(SnowflakeTestingUtils.SNOWFLAKE_TEST_CONFIG_VARIABLE); + testConfiguration.Query = "SHOW TERSE TABLES"; + testConfiguration.ExpectedResultsCount = 0; + + // Throw exception Apache.Arrow.Adbc.AdbcException + using (Adbc.Client.AdbcConnection adbcConnection = GetSnowflakeAdbcConnectionUsingConnectionString(testConfiguration)) + { + Tests.ClientTests.CanClientExecuteQuery(adbcConnection, testConfiguration); + } + } + + // + /// Validates if the client can connect to a live server + /// and parse the results. + /// + [SkippableFact, Order(4)] + public void CanClientExecuteQueryWithShowTable() + { + SnowflakeTestConfiguration testConfiguration = Utils.LoadTestConfiguration(SnowflakeTestingUtils.SNOWFLAKE_TEST_CONFIG_VARIABLE); + testConfiguration.Query = "SHOW TABLES"; + testConfiguration.ExpectedResultsCount = 0; + + // Throw exception Apache.Arrow.Adbc.AdbcException + using (Adbc.Client.AdbcConnection adbcConnection = GetSnowflakeAdbcConnectionUsingConnectionString(testConfiguration)) + { + Tests.ClientTests.CanClientExecuteQuery(adbcConnection, testConfiguration); + } + } + /// /// Validates if the client can connect to a live server /// using a connection string / private key and parse the results.