gortiz opened a new pull request, #18886:
URL: https://github.com/apache/pinot/pull/18886

   ## Summary
   
   Adds `QueryExecutor#getQueryExecutorConfig()` so callers can read the 
`PinotConfiguration` the executor was initialized with (the 
`pinot.server.query.executor` subset).
   
   - New interface method with a default that returns an empty 
`PinotConfiguration` (back-compatible for any implementation that does not 
track its init config).
   - `ServerQueryExecutorV1Impl` retains the config passed to `init(...)` and 
returns it.
   
   ## Motivation
   
   A caller that supplies a per-execution `PlanMaker` override (the 
`execute(..., PlanMaker)` overload) currently has no way to obtain the 
executor's configuration, so it cannot initialize that `PlanMaker` with the 
same settings the executor's own plan maker uses. As a result the override 
silently falls back to `InstancePlanMakerImplV2` defaults and ignores server 
limits such as `max.execution.threads` and the group-by trim sizes. This 
accessor lets such an override be initialized from the executor's real config.
   
   ## Compatibility
   
   Purely additive: a new default interface method plus a stored field and 
getter. No existing signatures change and no behavior changes for current 
callers.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to