Listing all parts in log have no sense. 
Should be either silenced, either combined into a single line.
size_t rows_setting,
    size_t bytes_setting,
    size_t rows_granularity,
    size_t bytes_granularity,
    size_t max_marks)
{
    size_t marks = 1;
    if (rows_setting + rows_granularity <= rows_setting) 
        marks = max_marks;
    else if (rows_setting)
        marks = (rows_setting + rows_granularity - 1) / rows_granularity;
    if (bytes_granularity == 0)
        return marks;
    else
    {
        
        if (bytes_setting + bytes_granularity <= bytes_setting) 
            return max_marks;
        if (bytes_setting)
            return std::max(marks, (bytes_setting + bytes_granularity - 1) / bytes_granularity);
        else
            return marks;
    }
}
}
static QueryPlanPtr createPlanFromPipe(Pipe pipe, const String & query_id, const MergeTreeData & data, const std::string & description = "")