Improve request pre-processing

Make the query planner run at run-time, allowing us to taylor
based on the requested definitions.

This allows us to request data from any step of the model, not
just the root steps.
This commit is contained in:
Tomaž Jerman
2021-08-16 09:16:07 +02:00
parent 04a79596d1
commit 41895b5dad
4 changed files with 116 additions and 117 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ func (svc *report) DescribeFresh(ctx context.Context, src types.ReportDataSource
var auxOut rep.FrameDescriptionSet
for _, s := range sources {
auxOut, err = model.Describe(s)
auxOut, err = model.Describe(ctx, s)
if err != nil {
return err
}