You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/07/18 12:13:28 UTC
[doris] branch dev-1.1.1 updated: [hotfix](dev-1.1.1) fallback to no-vec outer join in some case (#10979)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.1.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.1 by this push:
new cd4f29c21d [hotfix](dev-1.1.1) fallback to no-vec outer join in some case (#10979)
cd4f29c21d is described below
commit cd4f29c21dce49f4cc6ee4a1b0c2fdd2c9ab6b4e
Author: starocean999 <40...@users.noreply.github.com>
AuthorDate: Mon Jul 18 20:13:22 2022 +0800
[hotfix](dev-1.1.1) fallback to no-vec outer join in some case (#10979)
---
.../src/main/java/org/apache/doris/qe/StmtExecutor.java | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
index db4251206b..8180c52a55 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
@@ -602,7 +602,16 @@ public class StmtExecutor implements ProfileWriter {
VectorizedUtil.switchToQueryNonVec();
}
} catch (UserException e) {
- throw e;
+ if (e.getCause() instanceof VecNotImplException) {
+ if (i == analyzeTimes) {
+ throw e;
+ } else {
+ resetAnalyzerAndStmt();
+ VectorizedUtil.switchToQueryNonVec();
+ }
+ } else {
+ throw e;
+ }
} catch (Exception e) {
LOG.warn("Analyze failed. {}", context.getQueryIdentifier(), e);
throw new AnalysisException("Unexpected exception: " + e.getMessage());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org