EmmyMiao87 opened a new pull request, #8979:
URL: https://github.com/apache/incubator-doris/pull/8979

   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   Vectorized code will occur `core` in the case of ```outer join + not null 
column```, such as issue #7901
   So we need to fall back from vectorized mode to non-vectorized mode when we 
encounter this situation.
   
   If the nullside column of the outer join is a column that must return 
non-null like count(*)
   then there is no way to force the column to be nullable.
   At this time, vectorization cannot support this situation,
   so it is necessary to fall back to non-vectorization for processing.
   For example:
     Query: set enable_vectorized_engine=true
     Query: select * from t1 left join (select k1, count(k2) as count_k2 from 
t2 group by k1) tmp on t1.k1=tmp.k1
     Result: Query goes non-vectorized engine
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to