-
Notifications
You must be signed in to change notification settings - Fork 849
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
Improve ListArray
documentation for slices
#7039
base: main
Are you sure you want to change the base?
Conversation
fyi @rluvaton |
FWIW the same behaviour applies to StringArray and LargeStringArray, not sure if we need something similar documented there. There is also something similar for the ViewArray types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a helper function to know if can use the values and offsets as is? it will be useful for the concat and for other cases when doing optimization regarding list operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good follow on PR. Thanks @rluvaton
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
Which issue does this PR close?
ListArray
s is broken #7034Rationale for this change
It was very unclear to me (at first) what I could assume /not assume about a
ListArary
svalues()
andoffsets
arrays when working on #7037Now that I have studied the code for a while I would like to add documentatation to save myself (and hopefully others) from this trouble again
What changes are included in this PR?
LIstArray
andslice
Are there any user-facing changes?
Only docs, no functional changes
Also with ASCII art (I can't help myself)