Commit 00be00e
authored
chore(csharp/test/Drivers/Databricks): Fix some test cases that have null catalog (#3139)
## Issue
In some test cases in `DatabricksConnectionTest` and `StatementTest` in
Databricks driver test, when catalog/schema is `null`, the test code
does not update the corresponding catalog/schema in `TestConfiguration`,
if the `catalog` or `schema` is non-empty in the original
`TestConfiguration`, the test case will fail
## Changes
- Updated
`DatabricksConnectionTest:SetDefaultCatalogAndSchemaOptionsTest` to set
catalog/schema in testConfig to `string.empty` when catalog/schema is
null
- Updated `StatementTest:ShouldReturnEmptyPkFkResult_WorksAsExpected` to
set statement's catalog to `string.empty` when it is null
## Testing
- `Apache.Arrow.Adbc.Tests.Drivers.Databricks.DatabricksConnectionTest`
- `Apache.Arrow.Adbc.Tests.Drivers.Databricks.StatementTest`1 parent 442dce1 commit 00be00e
File tree
2 files changed
+20
-2
lines changed- csharp/test/Drivers/Databricks/E2E
2 files changed
+20
-2
lines changedLines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
378 | 392 | | |
379 | 393 | | |
380 | 394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1126 | 1130 | | |
1127 | 1131 | | |
1128 | 1132 | | |
| |||
0 commit comments