You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Searching items filtering by properties with floats returns wrong results. Clause converts input query to ES filter using this Union. Because int is defined before float, all numeric values are converted to integer.
See outputs, items have properties.eo:cloud_cover as 0, because the filter is sent with 0es. The collection has one item with 0.03 (id: S2B_1CCV_20220106_0_L2A), this should be the right result.
Expected behavior
Number should not be cast to int.
Screenshots
Changing order, all numbers are converted to float
The text was updated successfully, but these errors were encountered:
Describe the bug
Searching items filtering by properties with floats returns wrong results. Clause converts input query to ES filter using this Union. Because
int
is defined beforefloat
, all numeric values are converted to integer.To Reproduce
Steps to reproduce the behavior:
properties.eo:cloud_cover
as 0, because the filter is sent with 0es. The collection has one item with 0.03 (id:S2B_1CCV_20220106_0_L2A
), this should be the right result.Expected behavior
Number should not be cast to int.
Screenshots
Changing order, all numbers are converted to
float
The text was updated successfully, but these errors were encountered: