Uh oh!
There was an error while loading. Please reload this page.
ARROW-6247: [Java] Provide a common interface for float4 and float8 vectors - #5132
Closed
liyafan82 wants to merge 1 commit into
Closed
ARROW-6247: [Java] Provide a common interface for float4 and float8 vectors#5132liyafan82 wants to merge 1 commit into
liyafan82 wants to merge 1 commit into
Conversation
emkornfield
commented
Aug 23, 2019
Contributor
@jacques-n thoughts on this? |
emkornfield
commented
Aug 31, 2019
Contributor
+1, seems ok. |
pribor pushed a commit
to GlobalWebIndex/arrow
that referenced
this pull request
Oct 24, 2025
…ectors 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 Closesapache#5132 from liyafan82/fly_0820_float and squashes the following commits: 984d538 <liyafan82> Provide a common interface for float4 and float8 vectors Authored-by: liyafan82 <fan_li_ya@foxmail.com> Signed-off-by: Micah Kornfield <emkornfield@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: