We want to provide an interface for floating point vectors (float4 & float8). This interface will make it convenient for many operations on a vector. With this interface, the client code will be greatly simplified, with many branches/switch removed.
The design is similar to BaseIntVector (the interface for all integer vectors). We provide 3 methods for setting & getting floating point values:
setWithPossibleTruncate
setSafeWithPossibleTruncate
getValueAsDouble
Reporter: Liya Fan / @liyafan82
Assignee: Liya Fan / @liyafan82
PRs and other links:
Note: This issue was originally created as ARROW-6247. Please see the migration documentation for further details.