toddmeng-db commented on code in PR #2921:
URL: https://github.com/apache/arrow-adbc/pull/2921#discussion_r2130931031


##########
csharp/src/Drivers/Databricks/DatabricksStatement.cs:
##########
@@ -46,14 +46,10 @@ public DatabricksStatement(DatabricksConnection connection)
             var defaultNamespace = 
((DatabricksConnection)Connection).DefaultNamespace;
             if (defaultNamespace != null)
             {
-                if (CatalogName == null)
+                if (CatalogName == null && 
connection.EnableMultipleCatalogSupport)
                 {
                     CatalogName = defaultNamespace.CatalogName;
                 }
-                if (SchemaName == null)
-                {
-                    SchemaName = defaultNamespace.SchemaName;
-                }
             }

Review Comment:
   Since ODBC does not use schema for subsequent queries, removing it here to 
be consistent



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to