You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-02 06:13:16 +03:00
fix(rbo,QA): add merge statistics into IN and Scalar subquery.
This commit is contained in:
@@ -194,6 +194,9 @@ execplan::ParseTree* InSub::transform()
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Insert column statistics
|
||||||
|
fGwip.mergeTableStatistics(gwi.tableStatisticsMap);
|
||||||
|
|
||||||
// remove outer query tables
|
// remove outer query tables
|
||||||
CalpontSelectExecutionPlan::TableList tblist;
|
CalpontSelectExecutionPlan::TableList tblist;
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@ execplan::ParseTree* ScalarSub::buildParseTree(PredicateOperator* op)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Insert column statistics
|
||||||
|
fGwip.mergeTableStatistics(gwi.tableStatisticsMap);
|
||||||
|
|
||||||
fGwip.subselectList.push_back(csep);
|
fGwip.subselectList.push_back(csep);
|
||||||
|
|
||||||
// remove outer query tables
|
// remove outer query tables
|
||||||
|
|||||||
Reference in New Issue
Block a user