Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arrow-row] add offsets at the Row level #4848

Closed
wants to merge 3 commits into from

Conversation

judahrand
Copy link
Contributor

Which issue does this PR close?

Closes #4847

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Sep 22, 2023
This allows a user to more easily extract the encoded data for a single
value for the row format.
@tustvold
Copy link
Contributor

tustvold commented Sep 22, 2023

I'm not really sure about this, as written it will double the memory usage for many use-cases, and I expect this to similarly regress encodd performance.

Perhaps we could take a step back here and start with your intended use-case for this functionality?

The ticket mentions some notion of storing data by cell, but I'm not following why this can't be achieved by simply iterating the values in an array (column)

@tustvold
Copy link
Contributor

Marking this as a draft to indicate it isn't waiting on review, feel free to unmark when you would like me to take another look

@tustvold tustvold marked this pull request as draft September 27, 2023 09:30
@tustvold tustvold closed this Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[arrow-row] include offsets at the Row level so that consumers can slice the data buffer by 'column'
2 participants