This commit is contained in:
Nikita Vasilev 2021-05-21 19:23:33 +03:00
parent 135b0ed69d
commit dd343f087e
2 changed files with 2 additions and 2 deletions

View File

@ -1135,7 +1135,7 @@ QueryPlanPtr MergeTreeDataSelectExecutor::readFromParts(
LOG_DEBUG(
log,
"Selected {}/{} pay, {} parts by primary key, {}/{} marks by primary key, {} marks to read from {} ranges",
"Selected {}/{} parts by partition key, {} parts by primary key, {}/{} marks by primary key, {} marks to read from {} ranges",
parts.size(),
total_parts,
parts_with_ranges.size(),

View File

@ -24,7 +24,7 @@ struct MergeTreeDataSelectSamplingData
struct MergeTreeDataSelectCache
{
RangesInDataParts parts_with_ranges;
MergeTreeDataSelectSamplingData sampling;
MergeTreeDataSelectSamplingData sampling{};
std::unique_ptr<ReadFromMergeTree::IndexStats> index_stats;
size_t sum_marks = 0;
size_t sum_ranges = 0;