-
Notifications
You must be signed in to change notification settings - Fork 29k
[MINOR][SQL] Remove out-of-dated comment in CollectLimitExec
#45311
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
Conversation
CollectLimitExecCollectLimitExec
CollectLimitExecCollectLimitExec
| // collect the first `limit` + `offset` elements and then to drop the first `offset` elements. | ||
| // For example: limit is 1 and offset is 2 and the child output two partition. | ||
| // The first partition output [1, 2] and the Second partition output [3, 4, 5]. | ||
| // Then [1, 2, 3] will be taken and output [3]. |
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.
While I reviewed something related to this, the comment read confused to me. I traced it to original PR #35975, but the code was already updated by later PRs. This comment is actually out-of-dated and not matched to the code.
|
Merged into master for Spark 4.0. Thanks @viirya @HyukjinKwon |
dongjoon-hyun
left a comment
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.
+1, LGTM.
|
Thank you @LuciferYang @HyukjinKwon @dongjoon-hyun |
### What changes were proposed in this pull request? This patch removes an out-of-dated code comment that was added by apache#35975. ### Why are the changes needed? Removed out-of-dated comment to reduce misunderstanding and confusion. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing test ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#45311 from viirya/remove_comment. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: yangjie01 <[email protected]>
### What changes were proposed in this pull request? This patch removes an out-of-dated code comment that was added by apache#35975. ### Why are the changes needed? Removed out-of-dated comment to reduce misunderstanding and confusion. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing test ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#45311 from viirya/remove_comment. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: yangjie01 <[email protected]>
What changes were proposed in this pull request?
This patch removes an out-of-dated code comment that was added by #35975.
Why are the changes needed?
Removed out-of-dated comment to reduce misunderstanding and confusion.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing test
Was this patch authored or co-authored using generative AI tooling?
No