Commit 81d08a7
authored
Fixed stripTypeName function (#1012)
## Description
<!-- Provide a brief summary of the changes made and the issue they aim
to address.-->
Updated the stripTypeName function to strip the type only when it
contains the close bracket in the end. This would parse
ARRAY<DECIMAL(10,2)> correctly.
## Testing
<!-- Describe how the changes have been tested-->
Added unit test
## 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. -->
[PECOBLR-951](https://databricks.atlassian.net/browse/PECOBLR-951)
[PECOBLR-951]:
https://databricks.atlassian.net/browse/PECOBLR-951?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
NO_CHANGELOG=true1 parent d60246f commit 81d08a7
File tree
3 files changed
+7
-7
lines changed- development
- src
- main/java/com/databricks/jdbc/dbclient/impl/common
- test/java/com/databricks/jdbc/dbclient/impl/common
3 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | | - | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
505 | 505 | | |
506 | | - | |
507 | 506 | | |
508 | 507 | | |
509 | 508 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
0 commit comments