Commit 835a2b9
committed
[fix](be) Use string values in auto partition name test
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary: The auto partition name unit test stored string literals as const char pointers in AnyType. The test utility reads VARCHAR cells as std::string, which caused std::bad_any_cast before function execution. Use explicit std::string values for all inputs and expected outputs.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- function_string_test.function_auto_partition_name_case_insensitive_test
- Behavior changed: No
- Does this need documentation: No1 parent c97d27d commit 835a2b9
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
0 commit comments