Description
In the python client, adding a predicate for float types results in an error because the comparison value is being treated as a double.
>>> scanner.add_predicate(table['float'] >= 10.0001)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "kudu/client.pyx", line 1180, in kudu.client.Scanner.add_predicate (kudu/client.cpp:14068)
cpdef add_predicate(self, Predicate pred):
File "kudu/client.pyx", line 1199, in kudu.client.Scanner.add_predicate (kudu/client.cpp:14014)
check_status(self.scanner.AddConjunctPredicate(clone))
File "kudu/errors.pyx", line 60, in kudu.errors.check_status (kudu/errors.cpp:1017)
raise KuduInvalidArgument(c_message)
kudu.errors.KuduInvalidArgument: non-float value for float column float