Repository navigation
Conversation
Sign up for free
to 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.
This changes the existing
Bufferclass to be non-generic over typeT, since aBufferclass should just represent a plain byte array and interpretation of the data within the buffer should be done on a higher level, such as inArray.While working on this, I found that I also need to make significant changes on the
ArrayandListtypes, since they are currently heavily tied with theBuffer<T>implementation. The new implementation follows arrow-cpp and defines aArrayDatastruct which provides the common operations on a Arrow array. Subtypes ofArraythen provide specific operations for the types they represent. For instance, one can get a primitive value at indexiforPrimitiveArraytype, or can get a column at indexiforStructArray.I removed
Listsince it's no longer necessary. RemovedPrimitiveArray::{min,max}for now but plan to add them back.