This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 21f7881e168 [fix](arrow-flight)Fix the prompt that be arrow_flight_sql_port is not set (#31668) 21f7881e168 is described below commit 21f7881e1689bf6dbbfa11c3c0d71ad46e2da126 Author: wudongliang <46414265+donglian...@users.noreply.github.com> AuthorDate: Sat Mar 2 09:36:19 2024 +0800 [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 17e62d40f1f..8c764767c9c 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 @@ -1827,7 +1827,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(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org