mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
Add small log message
This commit is contained in:
parent
ef7acf3190
commit
b15f46a8ce
@ -1,9 +1,12 @@
|
|||||||
#include "PolygonDictionaryImplementations.h"
|
#include "PolygonDictionaryImplementations.h"
|
||||||
#include "DictionaryFactory.h"
|
#include "DictionaryFactory.h"
|
||||||
|
|
||||||
#include <DataTypes/DataTypeArray.h>
|
#include <DataTypes/DataTypeArray.h>
|
||||||
#include <DataTypes/DataTypeTuple.h>
|
#include <DataTypes/DataTypeTuple.h>
|
||||||
#include <DataTypes/DataTypesNumber.h>
|
#include <DataTypes/DataTypesNumber.h>
|
||||||
|
|
||||||
|
#include <common/logger_useful.h>
|
||||||
|
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
@ -115,10 +118,12 @@ SmartPolygonDictionary::SmartPolygonDictionary(
|
|||||||
PointType point_type_)
|
PointType point_type_)
|
||||||
: IPolygonDictionary(database_, name_, dict_struct_, std::move(source_ptr_), dict_lifetime_, input_type_, point_type_)
|
: IPolygonDictionary(database_, name_, dict_struct_, std::move(source_ptr_), dict_lifetime_, input_type_, point_type_)
|
||||||
{
|
{
|
||||||
|
auto log = &Logger::get("BucketsPolygonIndex");
|
||||||
buckets.reserve(polygons.size());
|
buckets.reserve(polygons.size());
|
||||||
for (size_t i = 0; i < polygons.size(); ++i)
|
for (size_t i = 0; i < polygons.size(); ++i)
|
||||||
{
|
{
|
||||||
buckets.emplace_back(std::vector<Polygon>{polygons[i]});
|
buckets.emplace_back(std::vector<Polygon>{polygons[i]});
|
||||||
|
LOG_TRACE(log, "Finished polygon" << i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user