
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  

column_constraints[element.key_column] = Constraint::RANGE;
            }
            continue;
        }
        if (element.function == RPNElement::Function::FUNCTION_UNKNOWN)
        {
            continue;
        }
        return false;
    }
    auto min_constraint = column_constraints[0];
    if (min_constraint > Constraint::RANGE)
    {
        return false;
    }
    for (size_t i = 1; i < key_columns.size(); ++i)
    {
        if (column_constraints[i] < min_constraint)
        {
            return false;
        }
        if (column_constraints[i] == Constraint::RANGE && min_constraint == Constraint::RANGE)
        {
            return false;
        }
        min_constraint = column_constraints[i];
    }
    return true;
}
BoolMask KeyCondition::checkInHyperrectangle(