You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-31 18:30:33 +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;
|
||||
}
|
||||
|
||||
// Insert column statistics
|
||||
fGwip.mergeTableStatistics(gwi.tableStatisticsMap);
|
||||
|
||||
// remove outer query tables
|
||||
CalpontSelectExecutionPlan::TableList tblist;
|
||||
|
||||
|
||||
@@ -276,6 +276,9 @@ execplan::ParseTree* ScalarSub::buildParseTree(PredicateOperator* op)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Insert column statistics
|
||||
fGwip.mergeTableStatistics(gwi.tableStatisticsMap);
|
||||
|
||||
fGwip.subselectList.push_back(csep);
|
||||
|
||||
// remove outer query tables
|
||||
|
||||
Reference in New Issue
Block a user