File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
extensions/ql-vscode/src/log-insights Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ class JoinOrderScanner implements EvaluationLogScanner {
488488 // Pointwise sum the tuple counts
489489 const newTupleCounts = pointwiseSum (
490490 bucket . tupleCounts ,
491- new Int32Array ( run . counts ) ,
491+ new Int32Array ( run . counts ?? [ ] ) ,
492492 this . problemReporter ,
493493 ) ;
494494 const resultSize = bucket . resultSize + deltaSize ;
Original file line number Diff line number Diff line change 11export interface PipelineRun {
22 raReference : string ;
3- counts : number [ ] ;
4- duplicationPercentages : number [ ] ;
3+ counts ? : number [ ] ;
4+ duplicationPercentages ? : number [ ] ;
55}
66
77interface Ra {
Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ export class PerformanceOverviewScanner implements EvaluationLogScanner {
151151 pipelineSummaryList,
152152 } = this . data ;
153153 const pipelineSummaries = pipelineSummaryList [ index ] ;
154- for ( const { counts, raReference } of event . pipelineRuns ?? [ ] ) {
154+ for ( const pipelineRun of event . pipelineRuns ?? [ ] ) {
155+ const counts = pipelineRun . counts || [ ] ;
156+ const raReference = pipelineRun . raReference ;
155157 // Get or create the pipeline summary for this RA
156158 const pipelineSummary = ( pipelineSummaries [ raReference ] ??= {
157159 steps : event . ra [ raReference ] ,
You can’t perform that action at this time.
0 commit comments