[fix](file-cache) change metric_value column in file_cache_statistics table to string (#40083)

Make it more flexible
followup #39552
This commit is contained in:
Mingyu Chen
2024-08-29 16:39:22 +08:00
committed by GitHub
parent 8df93f8dfe
commit 131238ff71
4 changed files with 30 additions and 14 deletions

View File

@ -524,7 +524,7 @@ public class SchemaTable extends Table {
.column("BE_IP", ScalarType.createVarchar(256))
.column("CACHE_PATH", ScalarType.createVarchar(256))
.column("METRIC_NAME", ScalarType.createVarchar(256))
.column("METRIC_VALUE", ScalarType.createType(PrimitiveType.DOUBLE))
.column("METRIC_VALUE", ScalarType.createStringType())
.build()))
.put("workload_group_privileges",
new SchemaTable(SystemIdGenerator.getNextId(), "workload_group_privileges", TableType.SCHEMA,