Bingandbing commented on code in PR #18747:
URL: https://github.com/apache/doris/pull/18747#discussion_r1178763839
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/cascades/CostAndEnforcerJob.java:
##########
@@ -108,15 +110,21 @@ public CostAndEnforcerJob(GroupExpression
groupExpression, JobContext context) {
*/
@Override
public void execute() {
+ CostCalculator.setEnableNewCostModel(
Review Comment:
If we don't change this, minidump would not work properly cause of getting
environment variables, this is the minimal change which minidump could work
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java:
##########
@@ -332,6 +336,21 @@ public void extractTables(LogicalPlan logicalPlan) {
}
}
+ /** get table by table name, try to get from information from dumpfile
first */
+ public Table getTableByName(String tableName) {
+ assert (tables != null);
Review Comment:
get
--
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]