File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/store/reducers/shardsWorkload Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function createShardQueryHistorical(
4242 filters ?: ShardsWorkloadFilters ,
4343 sortOrder ?: SortOrder [ ] ,
4444) {
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 ` ;
4646
4747 let where = `Path='${ path } ' OR Path LIKE '${ path } /%'` ;
4848
@@ -56,13 +56,7 @@ function createShardQueryHistorical(
5656 return `${ QUERY_TECHNICAL_MARK }
5757SELECT
5858 ${ pathSelect } ,
59- TabletId,
60- CPUCores,
61- DataSize,
62- NodeId,
63- PeakTime,
64- InFlightTxCount,
65- IntervalEnd
59+ \`.sys/top_partitions_one_hour\`.*
6660FROM \`.sys/top_partitions_one_hour\`
6761WHERE ${ where }
6862${ orderBy }
You can’t perform that action at this time.
0 commit comments