Jackie-Jiang commented on code in PR #16084:
URL: https://github.com/apache/pinot/pull/16084#discussion_r2146057290
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/planner/physical/DispatchablePlanContext.java:
##########
@@ -71,17 +88,32 @@ public long getRequestId() {
return _requestId;
}
+ public PlannerContext getPlannerContext() {
+ return _plannerContext;
+ }
+
+ public PairList<Integer, String> getResultFields() {
+ return _resultFields;
+ }
+
// Returns all the table names.
public Set<String> getTableNames() {
return _tableNames;
}
- public PairList<Integer, String> getResultFields() {
- return _resultFields;
+ /// Tracks non-lookup tables queried in leaf stages, which are used to
determine the servers to use for intermediate
+ /// stages. Returns `null` if leaf servers are directly used for
intermediate stages.
+ @Nullable
+ public Set<String> getNonLookupTables() {
+ return _nonLookupTables;
Review Comment:
Added `isUseLeafServerForIntermediateStage()` to make it more readable
--
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]