Skip to content

Commit 19242bc

Browse files
authored
feat(csharp/src/Drivers/Databricks): Fix initial catalog typo (#3057)
1 parent ec51e95 commit 19242bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/src/Drivers/Databricks/DatabricksConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private void ValidateProperties()
193193
if (!string.IsNullOrWhiteSpace(defaultCatalog) || !string.IsNullOrWhiteSpace(defaultSchema))
194194
{
195195
var ns = new TNamespace();
196-
if (!string.IsNullOrWhiteSpace(defaultSchema))
196+
if (!string.IsNullOrWhiteSpace(defaultCatalog))
197197
ns.CatalogName = defaultCatalog!;
198198
if (!string.IsNullOrWhiteSpace(defaultSchema))
199199
ns.SchemaName = defaultSchema;

0 commit comments

Comments
 (0)