shauryachats commented on code in PR #16442:
URL: https://github.com/apache/pinot/pull/16442#discussion_r2252809347
##########
pinot-core/src/main/java/org/apache/pinot/core/routing/RoutingManager.java:
##########
@@ -117,4 +117,11 @@ default boolean isTableDisabled(String tableNameWithType) {
*/
@Nullable
Set<String> getServingInstances(String tableNameWithType);
+
+ /**
+ * Returns the query timeout in milliseconds for the given table.
+ * Returns {@code null} if the table does not have a query timeout set.
+ */
+ @Nullable
+ Long getQueryTimeoutMs(String tableNameWithType);
Review Comment:
Makes sense. Removed the dependency of `routingManager` for retrieving query
timeout for a table through the `TableConfig` by calling it directly in
`BaseSingleStageBrokerRequestHandler`.
--
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]