|
|
|
|
|
|
34
|
private final Map<String, Set<String>> stableColumnCache = new ConcurrentHashMap<>();
|
34
|
private final Map<String, Set<String>> stableColumnCache = new ConcurrentHashMap<>();
|
|
35
|
private static final int MAX_CACHE_SIZE = 1000;
|
35
|
private static final int MAX_CACHE_SIZE = 1000;
|
|
36
|
|
36
|
|
|
37
|
- // 允许的列名字符
|
|
|
|
38
|
- private static final String ALLOWED_COLUMNS = "^[a-zA-Z_][a-zA-Z0-9_]*$";
|
|
|
|
|
|
37
|
+ // 允许的列名字符(支持中文、字母、数字、下划线)
|
|
|
|
38
|
+ private static final String ALLOWED_COLUMNS = "^[a-zA-Z_][a-zA-Z0-9_一-龥]*$";
|
|
39
|
|
39
|
|
|
40
|
// TDengine 超级表最大列数限制
|
40
|
// TDengine 超级表最大列数限制
|
|
41
|
private static final int MAX_COLUMNS_PER_STABLE = 4096;
|
41
|
private static final int MAX_COLUMNS_PER_STABLE = 4096;
|