Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@ public void execute(
}

/**
* Overload that threads a {@link org.opensearch.analytics.QueryRequestContext} snapshot down to
* the analytics-engine's plan executor via {@link
* org.opensearch.analytics.exec.QueryPlanExecutor}'s opaque context slot. The snapshot is
* captured once at query entry so planner and executor see the same cluster state.
* Overload that threads a QueryRequestContext snapshot down to the analytics-engine's plan
* executor via {@link org.opensearch.analytics.exec.QueryPlanExecutor}'s opaque context slot. The
* snapshot is captured once at query entry so planner and executor see the same cluster state.
*/
public void execute(
RelNode plan,
CalcitePlanContext context,
org.opensearch.analytics.QueryRequestContext queryCtx,
Object queryCtx,
ResponseListener<QueryResponse> listener) {
// QueryPlanExecutor became asynchronous in analytics-framework 3.7 — execution is dispatched
// to a worker pool and results arrive on the listener. Record the execute metric in the
Expand Down Expand Up @@ -153,7 +152,7 @@ public void explain(
public void executeWithProfile(
RelNode plan,
CalcitePlanContext context,
org.opensearch.analytics.QueryRequestContext queryCtx,
Object queryCtx,
ResponseListener<QueryResponse> listener) {

planExecutor.executeWithProfile(
Expand Down
Loading