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

Support group-limit optimization for ROW_NUMBER in Qualification #1487

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

amahussein
Copy link
Collaborator

Signed-off-by: Ahmed Hussein (amahussein) [email protected]

Fixes #1484

This code adds the row_number to the list of supported expressions in WindowGroupLimit.
Update the unit-tests to verify that the behavior is as expected.

Detailed Changes

This pull request includes updates to the WindowGroupLimitParser and its corresponding test suite to support the row_number expression. Additionally, it includes some refactoring to simplify the test cases.

Support for row_number expression:

Refactoring of test cases:

Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>

Fixes NVIDIA#1484

This code adds the `row_number` to the list of supported expressions in
`WindowGroupLimit`.
Update the unit-tests to verify that the behavior is as expected.
@amahussein amahussein added feature request New feature or request core_tools Scope the core module (scala) labels Jan 3, 2025
@amahussein amahussein self-assigned this Jan 3, 2025
@amahussein amahussein requested review from nartal1 and parthosa January 3, 2025 21:19
Copy link
Collaborator

@parthosa parthosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amahussein. Minor comments.

Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
Copy link
Collaborator

@parthosa parthosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amahussein. LGTME.

Copy link
Collaborator

@nartal1 nartal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @amahussein !

@amahussein amahussein merged commit 87f7e65 into NVIDIA:dev Jan 6, 2025
13 checks passed
@amahussein amahussein deleted the rapids-tools-1484 branch January 6, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core_tools Scope the core module (scala) feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Support group-limit optimization for ROW_NUMBER in Qualification
3 participants