File tree 1 file changed +2
-8
lines changed
src/store/reducers/shardsWorkload
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function createShardQueryHistorical(
42
42
filters ?: ShardsWorkloadFilters ,
43
43
sortOrder ?: SortOrder [ ] ,
44
44
) {
45
- const pathSelect = `CAST(SUBSTRING(CAST(Path AS String), ${ database . length } ) AS Utf8) AS Path ` ;
45
+ const pathSelect = `CAST(SUBSTRING(CAST(Path AS String), ${ database . length } ) AS Utf8) AS RelativePath ` ;
46
46
47
47
let where = `Path='${ path } ' OR Path LIKE '${ path } /%'` ;
48
48
@@ -56,13 +56,7 @@ function createShardQueryHistorical(
56
56
return `${ QUERY_TECHNICAL_MARK }
57
57
SELECT
58
58
${ pathSelect } ,
59
- TabletId,
60
- CPUCores,
61
- DataSize,
62
- NodeId,
63
- PeakTime,
64
- InFlightTxCount,
65
- IntervalEnd
59
+ \`.sys/top_partitions_one_hour\`.*
66
60
FROM \`.sys/top_partitions_one_hour\`
67
61
WHERE ${ where }
68
62
${ orderBy }
You can’t perform that action at this time.
0 commit comments