shauryachats opened a new pull request, #18622: URL: https://github.com/apache/pinot/pull/18622
## Summary - Introduces `pinot.server.query.executor.default.execution.threads` — sets the default execution threads per query, decoupled from `max.execution.threads`. - Currently `max.execution.threads` serves as both the hard cap and implicit default. This lets operators set a lower default while still allowing selected queries to reach the max via `SET maxExecutionThreads`. - When not configured, behavior is completely unchanged (backward compatible). ## Resolution order: - Per-query override (`SET maxExecutionThreads=N`) — capped by max - Server default (`default.execution.threads`) — decoupled from max, but still capped by it - Server max (`max.execution.threads`) — legacy fallback ## Example ``` pinot.server.query.executor.max.execution.threads=16 pinot.server.query.executor.default.execution.threads=4 ``` - Normal queries use 4 threads - `SET maxExecutionThreads=10` → 10 threads - `SET maxExecutionThreads=20` → 16 threads (capped) -- 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]
