You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/16 08:28:39 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a diff in pull request #9589: [fix](planner)VecNotImplException thrown when query need rewrite and some slot cannot changed to nullable

EmmyMiao87 commented on code in PR #9589:
URL: https://github.com/apache/incubator-doris/pull/9589#discussion_r873457641


##########
fe/fe-core/src/main/java/org/apache/doris/common/util/VectorizedUtil.java:
##########
@@ -63,10 +58,14 @@ public static void switchToQueryNonVec() {
         if (connectContext == null) {
             return;
         }
-        Analyzer analyzer = connectContext.getExecutor().getAnalyzer();
-        if (analyzer == null) {
-            return;
+        SessionVariable sessionVariable = connectContext.getSessionVariable();
+        sessionVariable.setIsSingleSetVar(true);

Review Comment:
   Where is the declare of this var ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org