mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-27 14:16:18 +00:00
feat: expose scanner metrics to df execution metrics (#5699)
* feat: add metrics list to scanner * chore: add report metrics method * feat: use df metrics in PartitionMetrics * feat: pass execution metrics to scan partition * refactor: remove PartitionMetricsList * feat: better debug format for ScanMetricsSet * feat: do not expose all metrics to execution metrics by default * refactor: use struct destruction * feat: add metrics list to scanner * chore: Add custom Debug for ScanMetricsSet and partition metrics display * test: update sqlness result
This commit is contained in:
@@ -276,7 +276,7 @@ impl ExecutionPlan for RegionScanExec {
|
||||
.scanner
|
||||
.lock()
|
||||
.unwrap()
|
||||
.scan_partition(partition)
|
||||
.scan_partition(&self.metric, partition)
|
||||
.map_err(|e| DataFusionError::External(Box::new(e)))?;
|
||||
let stream_metrics = StreamMetrics::new(&self.metric, partition);
|
||||
Ok(Box::pin(StreamWithMetricWrapper {
|
||||
|
||||
Reference in New Issue
Block a user