xinyiZzz opened a new pull request, #20158:
URL: https://github.com/apache/doris/pull/20158

   ## Proposed changes
   
   Issue Number: close #xxx
   
   recurrent:
   ```
   ./run-regression-test.sh  --run -suiteParallel 1 -actionParallel 1 -parallel 
1 -d query_p0/sql_functions/window_functions
   
   select      /*+ SET_VAR(query_timeout = 600) */ subq_0.`c1` as c0 from    
(select           ref_1.`s_name` as c0,          ref_1.`s_suppkey` as c1,       
   ref_1.`s_address` as c2,          ref_1.`s_address` as c3       from         
 regression_test_query_p0_sql_functions_window_functions.tpch_tiny_supplier as 
ref_1       where (ref_1.`s_name` is NULL)          or (ref_1.`s_acctbal` is 
not NULL)) as subq_0 where (subq_0.`c3` is NULL)    or (subq_0.`c2` is not NULL)
   ```
   
   reason: 
   FunctionIsNull and FunctionIsNotNull execute returns a const column, but 
their VectorizedFnCall::is_constant returns false, which causes problems with 
const handling when VCompoundPred::execute.
   
   This pr converts const column to full column in VCompoundPred execute. In 
the future, there will be a more thorough solution to such problems.
   
   ## 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