This is an automated email from the ASF dual-hosted git repository.
gortiz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 42335ae68d Improve error message when colocated join is requested but
workermanager is disabled (#14947)
42335ae68d is described below
commit 42335ae68ddb4de1206570480615baed079c2c88
Author: Gonzalo Ortiz Jaureguizar <[email protected]>
AuthorDate: Wed Feb 12 12:48:51 2025 +0100
Improve error message when colocated join is requested but workermanager is
disabled (#14947)
---
.../src/main/java/org/apache/pinot/query/QueryEnvironment.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java
b/pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java
index 1516dfd009..a0ecedb800 100644
---
a/pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java
+++
b/pinot-query-planner/src/main/java/org/apache/pinot/query/QueryEnvironment.java
@@ -157,7 +157,9 @@ public class QueryEnvironment {
}
switch (inferPartitionHint.toLowerCase()) {
case "true":
- Objects.requireNonNull(workerManager, "WorkerManager is required in
order to infer partition hint");
+ Objects.requireNonNull(workerManager, "WorkerManager is required in
order to infer partition hint. "
+ + "Please enable it using broker config"
+ +
CommonConstants.Broker.CONFIG_OF_ENABLE_PARTITION_METADATA_MANAGER + "=true");
return workerManager;
case "false":
return null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]