You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
feat(optimizer,rules): use EI statistics for range filters
This commit is contained in:
@@ -6321,7 +6321,7 @@ void extractColumnStatistics(Item_field* ifp, gp_walk_info& gwi)
|
||||
if (histogram)
|
||||
{
|
||||
std::cout << "Type of histogram object: " << typeid(*histogram).name() << std::endl;
|
||||
std::vector<Histogram_bucket> histogramBuckets = histogram->get_histogram();
|
||||
std::vector<Histogram_bucket> histogramBuckets = histogram->get_json_histogram();
|
||||
std::cout << "gwi.columnStatisticsMap[ifp->field->field_name.str].size() " << histogramBuckets.size() << std::endl;
|
||||
gwi.columnStatisticsMap[ifp->field->field_name.str] = histogramBuckets;
|
||||
}
|
||||
|
Reference in New Issue
Block a user