walterddr commented on a change in pull request #8340:
URL: https://github.com/apache/pinot/pull/8340#discussion_r828466305
##########
File path:
pinot-broker/src/main/java/org/apache/pinot/broker/routing/RoutingManager.java
##########
@@ -616,4 +620,14 @@ void refreshSegment(String segment) {
}
}
}
+
+ @Override
+ public Map<String, ServerInstance> getEnabledServerInstanceMap() {
+ return new HashMap<>(_enabledServerInstanceMap);
+ }
+
+ @Override
+ public RouteTable getRoutingTable(String tableName) {
+ return
getRoutingTable(CALCITE_SQL_COMPILER.compileToBrokerRequest(String.format("SELECT
* FROM %s", tableName)));
Review comment:
this was to make sure the modification dependency on current pinot
modules are at minimum. if accepted I think we can first merge this part of the
change back to master branch and we don't have to do this hack
--
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]