jiaqizho commented on code in PR #1258:
URL: https://github.com/apache/cloudberry/pull/1258#discussion_r2275209708
##########
src/backend/gpopt/CGPOptimizer.cpp:
##########
@@ -45,7 +45,8 @@ PlannedStmt *
CGPOptimizer::GPOPTOptimizedPlan(
Query *query,
bool *
- had_unexpected_failure // output : set to true if optimizer
unexpectedly failed to produce plan
+ had_unexpected_failure, // output : set to true if optimizer
unexpectedly failed to produce plan
Review Comment:
used on func `optimize_query`(src/backend/optimizer/plan/orca.c:L156-L158)
```
/* Ok, invoke ORCA. */
result = GPOPTOptimizedPlan(pqueryCopy, &fUnexpectedFailure, options);
log_optimizer(result, fUnexpectedFailure); // orca.c:L158
```
--
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]