Open ErikFerrari opened 1 year ago
If a filter is built with a float and the values does not have the decimal it throws an error. Instead it should work. Below an example of the filter.
----- DOES NOT work ---- filter=and(lte(integer_support,5),lte(float_support,15))
filter=and(lte(integer_support,5),lte(float_support,15))
----- work ----- filter=and(lte(integer_support,5),lte(float_support,15.0))
filter=and(lte(integer_support,5),lte(float_support,15.0))
Better to use Float.parse and Integer.parse insted of String.to_float and String.to_integer. That's because float numbers like "8" are invalid according to String.to_float
If a filter is built with a float and the values does not have the decimal it throws an error. Instead it should work. Below an example of the filter.
----- DOES NOT work ----
filter=and(lte(integer_support,5),lte(float_support,15))
----- work -----
filter=and(lte(integer_support,5),lte(float_support,15.0))