```
select count() from numbers(10) where number in tuple(1, 2, 3, 4, 5) settings max_temporary_columns = 3

Received exception from server (version 20.7.1):
Code: 165. DB::Exception: Received from localhost:9000. DB::Exception: Too many temporary columns: _dummy, 1, 2, 3. Maximum: 3. 
```

Workaround: Avoid function in tuple.
```select count() from numbers(10) where number in (1, 2, 3, 4, 5) settings max_temporary_columns = 3```
|| (left_lower != indices.end() && equals(*left_lower, left_point))
            || (right_lower != indices.end() && equals(*right_lower, right_point)),
        true
    };
}
bool MergeTreeSetIndex::hasMonotonicFunctionsChain() const
{
    for (const auto & mapping : indexes_mapping)
        if (!mapping.functions.empty())
            return true;
    return false;
}
void ValueWithInfinity::update(const Field & x)
{
    
    if (!column->empty())
        column->popBack(1);
    column->insert(x);
    type = NORMAL;
}
const IColumn & ValueWithInfinity::getColumnIfFinite() const
{
#ifndef NDEBUG
    if (type != NORMAL)
        throw Exception("Trying to get column of infinite type", ErrorCodes::LOGICAL_ERROR);
#endif
    return *column;
}
}