Skip to content

Commit

Permalink
12
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Nov 1, 2023
1 parent c16d42e commit c3d2d58
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

package org.apache.doris.service.arrowflight;

import org.apache.doris.common.exception.InternalException;
import org.apache.doris.common.util.DebugUtil;
import org.apache.doris.common.util.Util;
import org.apache.doris.mysql.MysqlCommand;
Expand Down Expand Up @@ -143,7 +142,7 @@ public FlightInfo getFlightInfoStatement(final CommandStatementQuery request, fi

flightSQLConnectProcessor.handleQuery(query);
if (connectContext.getState().getStateType() == MysqlStateType.ERR) {
throw new InternalException("after handleQuery");
throw new RuntimeException("after handleQuery");
}
if (connectContext.getFlightSqlChannel().resultNum() == 0) {
String queryId = UUID.randomUUID().toString();
Expand Down

0 comments on commit c3d2d58

Please sign in to comment.