
create table test1 (a Float32,  b Float32 ) engine = MergeTree order by a ;
insert into test1 values (0.1,0.1), (0.2,0.2);
select count() from test1 where b = 0.1;
0 
select count() from test1 where b = toFloat32(0.1);
1
select count() from test1 where a > 0;
0
select count() from test1 where a > 0.0;
2
select count() from test1 where b > 0;
2

version 22.1.3.7  

{
            return {};
        }
        
        
        
        
        
        if (!key_range.left.isNull())
        {
            key_range.left = applyFunction(func, current_type, key_range.left);
            key_range.left_included = true;
        }
        if (!key_range.right.isNull())
        {
            key_range.right = applyFunction(func, current_type, key_range.right);
            key_range.right_included = true;
        }
        current_type = func->getResultType();
        if (!monotonicity.is_positive)
            key_range.invert();
    }
    return key_range;
}
bool KeyCondition::matchesExactContinuousRange() const
{
    
    if (hasMonotonicFunctionsChain())
        return false;
    enum Constraint