Skip to content
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

Improve error message when colocated join is requested but workermanager is disabled #14947

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ private WorkerManager getWorkerManager(SqlNodeAndOptions sqlNodeAndOptions) {
}
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 " + CommonConstants.Broker.CONFIG_OF_ENABLE_PARTITION_METADATA_MANAGER + "=true");
gortiz marked this conversation as resolved.
Show resolved Hide resolved
return workerManager;
case "false":
return null;
Expand Down
Loading