From cacbd048ec89a24d666c46a0f1cbb993105b41e6 Mon Sep 17 00:00:00 2001 From: wudongliang <46414265+DongLiang-0@users.noreply.github.com> Date: Sat, 2 Mar 2024 09:36:19 +0800 Subject: [PATCH] [fix](arrow-flight)Fix the prompt that be arrow_flight_sql_port is not set (#31668) --- fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java index 458202ced4..3ab3d40dc7 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java @@ -1824,7 +1824,7 @@ public class Coordinator implements CoordInterface { throw new UserException(SystemInfoService.NO_BACKEND_LOAD_AVAILABLE_MSG); } if (backend.getArrowFlightSqlPort() < 0) { - return null; + throw new UserException("be arrow_flight_sql_port cannot be empty."); } return backend.getArrowFlightAddress(); }