[Fix](test) Fix an auto partition conflict and add many testcases (#27730)

Fix an auto partition conflict and add many testcases
This commit is contained in:
zclllyybb
2023-12-01 09:58:44 +08:00
committed by GitHub
parent 2afbece0b8
commit 776f0205f3
5 changed files with 377 additions and 63 deletions

View File

@ -206,8 +206,6 @@ public class PartitionExprUtil {
char ch = value.charAt(i);
if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9')) {
sb.append(ch);
} else if (ch == '-' || ch == ':' || ch == ' ' || ch == '*') {
// Main user remove characters in time
} else {
int unicodeValue = value.codePointAt(i);
String unicodeString = Integer.toHexString(unicodeValue);