fix: report paging

This commit is contained in:
Yangruipis
2022-10-25 15:21:04 +02:00
committed by Denis Arh
parent 79ac014eb7
commit 8926c040cd
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ func prepareGenericRowTester(f internalFilter) (_ tester, err error) {
}
pcNode.Traverse(func(a *ql.ASTNode) (bool, *ql.ASTNode, error) {
if a.Symbol != "" {
a.Symbol = strings.Replace(a.Symbol, ".", "___DLMTR___", -1)
a.Symbol = wrapNestedGvalIdent(a.Symbol)
}
return true, a, nil
})
+5 -1
View File
@@ -350,7 +350,7 @@ func (svc *report) Run(ctx context.Context, reportID uint64, dd reporting.FrameD
// Run the reports and produce the frames
// @todo this can be ran in paralel
for _, run := range runs {
func() (err error) {
err = func() (err error) {
iter, err = svc.pipelineRunner.Run(ctx, run.Pipeline)
if err != nil {
return
@@ -370,6 +370,10 @@ func (svc *report) Run(ctx context.Context, reportID uint64, dd reporting.FrameD
out = append(out, ff...)
return
}()
if err != nil {
return
}
}
return nil