toddmeng-db opened a new pull request, #2921:
URL: https://github.com/apache/arrow-adbc/pull/2921
When using `EnableMultipleCatalogs` with new dbr, `InitialNamespace` still
returns a catalog value in `TOpenSessionResp`. In Databricks Statement, we
check to see if catalog is set; if `EnableMultipleCatalogs = false`, we expect
`catalogName` to not be set. This causes some Metadata calls to fail
(specifically, if user does not set "SPARK" as catalog).
This fix does not set the CatalogName if EnableMultipleCatalogSupport is
false.
To test, simply add the following to `DATABRICKS_TEST_CONFIG_FILE`:
```
"db_schema": "default",
"enableMultipleCatalogSupport": "false",
```
and run `dotnet test --filter
"FullyQualifiedName~OlderDBRVersion_ShouldSetSchemaViaUseStatement"` - this
will only succeed with this PR.
--
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]