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

[WIP: do not review] HIVE-28712: Fix error wrt maxParts in partition logs #5635

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arorasimran0309
Copy link
Contributor

@arorasimran0309 arorasimran0309 commented Feb 5, 2025

What changes were proposed in this pull request?

The changes include passing the config value LIMIT_PARTITION_REQUEST instead of maxparts (whose value is set to -1) in get_partitions_by_expr logging expression. This will help in reflecting the correct quantity in case the config is set and being honored with the filter/expr on the partition column

Why are the changes needed?

Current partition logs display max partitions = -1, which is the default value. But on changing the value of LIMIT_PARTITION_REQUEST, the set value is not displayed, instead -1 continues to be logged.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Existing tests

Case 1: Test passing, before the fix:
image

After the fix:
image

Case 2: Test failing, before the fix:
image
image

After the fix:
image
image

Copy link

sonarqubecloud bot commented Feb 6, 2025

@arorasimran0309 arorasimran0309 changed the title HIVE-28712: Fix error wrt maxParts in partition logs [WIP: do not review] HIVE-28712: Fix error wrt maxParts in partition logs Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants