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

   Cherry-pick of #60601 to branch-4.2
   
   [Enhancement](optimizer) Support multi-mode CTE inline strategy
   
   Replaces the boolean enableCboCteInline behaviour with an integer 
`cte_inline_mode`
   (<0 disable, 0 selective inline, >=1 full CBO comparison, default 0).
   
   Adaptations for branch-4.2: the new session variable uses branch-4.2's
   `@VariableMgr.VarAttr` annotation, and the shape_check baselines for tpcds 
queries
   4/11/74 were regenerated with -forceGenOut on branch-4.2 (tpcDS/TPC-H plan 
shapes
   differ from master).
   
   Tests: new suites test_cte_multiuse_no_union_not_inline and
   test_cte_nondeterministic_not_inline pass, plus 
distinct_agg_strategy_selector and
   the regenerated shape_check suites (12+6+3+1 suites, 0 failures).
   


-- 
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