Commit d60246f
authored
Fixed ResultSetMetadata for SEA inline mode (#1010)
## Description
<!-- Provide a brief summary of the changes made and the issue they aim
to address.-->
For SEA this type is parsed later using a function. So we need not strip
the base type here. So reverted the code to use stripTypeName instead.
But the stripTypeName function isn't correct either since it will
incorrectly convert ARRAY<DECIMAL(10,2)> to ARRAY<DECIMAL and later
parse it incorrectly.
## Testing
<!-- Describe how the changes have been tested-->
Tested the SQL smoke test locally
## Additional Notes to the Reviewer
<!-- Share any additional context or insights that may help the reviewer
understand the changes better. This could include challenges faced,
limitations, or compromises made during the development process.
Also, mention any areas of the code that you would like the reviewer to
focus on specifically. -->
NO_CHANGELOG=true1 parent ccf62a9 commit d60246f
3 files changed
Lines changed: 33 additions & 2 deletions
File tree
- development
- src
- main/java/com/databricks/jdbc/api/impl
- test/java/com/databricks/jdbc/api/impl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
416 | 447 | | |
417 | 448 | | |
418 | 449 | | |
| |||
0 commit comments