-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[multistage] run planner for routing on controller #10871
Comments
CC @tibrewalpratik17 and @abhioncbr |
@walterddr Just curious will this not add an additional dependency of pinot-controller module on Also for 2. we can use |
On deeper look I see we don't need WorkerManager in the |
Sounds good to me. I can work on this if it's not urgent. Thanks. |
Controller is never designed for sustained QPS workload --> in fact each pending query will hog up a thread/cpu thus it can handle maximum
yes, that's what I meant, we dont need to configure
Thank you @abhioncbr, sorry I was originally intended to @ankitsultana but yes this is not urgent. please feel free to pick this one up at your convenience. (assigned to you) |
Hey @abhioncbr is it okay if i pick this up and get this assigned to me? |
Sure. Thanks |
Description
when query broker for a specific query. there's no need to parse out the tenant info.
however when using the Pinot controller UI. controller needs to first detect all the tables accessed by the query, then find the common tenant of a broker to route the query to.
Status Quo
currently this is done via a util done in #10336. however this util has lots of drawback and overhead. b/c it is not running the actual planner.
Proposed solution
QueryEnvironment.compileQuery
)RelOptUtils.findTables
to find all tables accessed by this query.The text was updated successfully, but these errors were encountered: