Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions platform/optimize/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,13 @@ func NewOptimizePipeline(config *config.QuesmaConfiguration) model.QueryTransfor
// TODO remove this line when splitTimeRange is removed
// this is just to satisfy the linter
_ = &splitTimeRange{}
_ = &splitTimeRangeExt{}
return &OptimizePipeline{
config: config,
optimizations: []OptimizeTransformer{
&truncateDate{truncateTo: 5 * time.Minute},
&cacheQueries{},
&materializedViewReplace{},
// TODO finally remove this transformer
// commenting out splitTimeRange for now
// as we have splitTimeRangeExt that uses novel approach
// of splitting queries based on time range
// executing them in parallel and finally merging results
// &splitTimeRange{},
&splitTimeRangeExt{},
},
}
}
Expand Down
Loading