[client-v2] Impossible to get float value by getFloat()
because of incorrect overflow check
#1954
Labels
Milestone
getFloat()
because of incorrect overflow check
#1954
Describe the bug
If reader attempts to call
getFloat()
on a column ofFloat64
type and value fitsfloat
it still gets exception about overflow:This happens because of this overflow check:
Obviously double value might have some "noise" fraction:
Output:
The overflow check might be too complex from performance stand point, so this PR removes check for float and double.
The text was updated successfully, but these errors were encountered: