Skip to content

Commit

Permalink
[fix](arrow-flight)Fix the prompt that be arrow_flight_sql_port is no…
Browse files Browse the repository at this point in the history
…t set (apache#31668)
  • Loading branch information
DongLiang-0 authored Mar 2, 2024
1 parent 4564533 commit 21f7881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,7 @@ private TNetworkAddress toArrowFlightHost(TNetworkAddress host) throws Exception
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();
}
Expand Down

0 comments on commit 21f7881

Please sign in to comment.