-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minor: Refine doc comments for BuiltinScalarFunction::return_dimension #7045
Conversation
@izveigor or @jayzhan211 I wonder if you have some time to review this PR? |
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.
LGTM! I agree the fact that we should expand the documentation and come up with a pretty format for array functions.
Thanks @izveigor -- I'll keep chipping away at keeping the codebase readable and documented :) |
My intention was not to change the definition but to capture what this function does. I am pretty sure that given the input |
@alamb In your opinion, which one do you prefer? I think both are fine but need to be consistent everywhere |
Makes the most sense to me given my understanding of multi-dimensional array terminology. I don't know the code well enough to understand how large a code change updating to that definition would be |
I don't think there are many to change so changing the code might not be a problem. We just need to have a consensus on the definition of list dimensions, also add them to code comment and documentation These are some code I know that is related to List dimensions @izveigor Do you know any code that considers the list dimensions? |
Which issue does this PR close?
Related to #7008
Rationale for this change
I only just now realized what "dimension" meant in the context of ListArray / Arrays so I tried to document it
What changes are included in this PR?
Doc comments
Are these changes tested?
Are there any user-facing changes?