Skip to content

Commit

Permalink
Generate local exec plan without routing for RawChunkMeta logical plan (
Browse files Browse the repository at this point in the history
  • Loading branch information
TanviBhavsar authored Nov 14, 2019
1 parent 9d01620 commit 016621e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class QueryEngine(dsRef: DatasetRef,
val querySpreadProvider = options.spreadProvider.getOrElse(spreadProvider)

if (!QueryRoutingPlanner.isPeriodicSeriesPlan(rootLogicalPlan) || // It is a raw data query
rootLogicalPlan.isInstanceOf[RawChunkMeta] ||
!tsdbQueryParams.isInstanceOf[PromQlQueryParams] || // We don't know the promql issued (unusual)
(tsdbQueryParams.isInstanceOf[PromQlQueryParams] &&
!tsdbQueryParams.asInstanceOf[PromQlQueryParams].processFailure) || // This is a query that was part of
Expand Down

0 comments on commit 016621e

Please sign in to comment.