Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit a1ac8fa

Browse files
committed
Commenting out splitTimeRange from optimization pipeline
1 parent a71fc96 commit a1ac8fa

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

platform/optimize/pipeline.go

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,21 @@ type OptimizePipeline struct {
2424
}
2525

2626
func NewOptimizePipeline(config *config.QuesmaConfiguration) model.QueryTransformer {
27-
27+
// TODO remove this line when splitTimeRange is removed
28+
// this is just to satisfy the linter
29+
_ = &splitTimeRange{}
2830
return &OptimizePipeline{
2931
config: config,
3032
optimizations: []OptimizeTransformer{
3133
&truncateDate{truncateTo: 5 * time.Minute},
3234
&cacheQueries{},
3335
&materializedViewReplace{},
34-
&splitTimeRange{},
36+
// TODO finally remove this transformer
37+
// commenting out splitTimeRange for now
38+
// as we have splitTimeRangeExt that uses novel approach
39+
// of splitting queries based on time range
40+
// executing them in parallel and finally merging results
41+
// &splitTimeRange{},
3542
&splitTimeRangeExt{},
3643
},
3744
}

0 commit comments

Comments
 (0)