Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Sep 13, 2023
1 parent 20e6101 commit becc3a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
import java.io.IOException;
import java.io.StringReader;
import java.nio.ByteBuffer;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
Expand Down Expand Up @@ -2670,7 +2669,7 @@ public void executeArrowFlightQuery(FlightStatementContext flightStatementContex
coord.exec();
} catch (Exception e) {
queryScheduleSpan.recordException(e);
LOG.warn("Failed to coord exec, because: {}", e.getMessage(), e);
LOG.warn("Failed to coord exec Arrow Flight SQL, because: {}", e.getMessage(), e);
throw new InternalQueryExecutionException(e.getMessage() + Util.getRootCauseMessage(e), e);
} finally {
queryScheduleSpan.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.doris.common.Status;
import org.apache.doris.common.util.DebugUtil;
import org.apache.doris.common.util.Util;
import org.apache.doris.proto.InternalService;
import org.apache.doris.proto.Types;
import org.apache.doris.qe.AutoCloseConnectContext;
import org.apache.doris.qe.ConnectContext;
Expand Down Expand Up @@ -132,7 +133,6 @@ public static AutoCloseConnectContext buildConnectContext() {
ConnectContext connectContext = new ConnectContext();
SessionVariable sessionVariable = connectContext.getSessionVariable();
sessionVariable.internalSession = true;
sessionVariable.setEnableNereidsPlanner(false); // TODO
sessionVariable.setEnablePipelineEngine(false); // TODO
sessionVariable.setEnablePipelineXEngine(false); // TODO
connectContext.setEnv(Env.getCurrentEnv());
Expand Down

0 comments on commit becc3a9

Please sign in to comment.