[SPARK-30269][SQL][2.3] Should use old partition stats to decide whether to update stats when analyzing partition#26964
Closed
wzhfy wants to merge 1 commit intoapache:branch-2.3from
Closed
Conversation
…o update stats when analyzing partition It's an obvious bug: currently when analyzing partition stats, we use old table stats to compare with newly computed stats to decide whether it should update stats or not. bug fix no add new tests Closes apache#26908 from wzhfy/failto_update_part_stats. Authored-by: Zhenhua Wang <wzh_zju@163.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org>
Member
|
@wzhfy, Spark 2.3.x is EOL so there would be no more release in 2.3 line. Let me leave this closed. |
Contributor
Author
|
Ok. |
|
Test build #115614 has finished for PR 26964 at commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This is a backport for pr#26908.
It's an obvious bug: currently when analyzing partition stats, we use old table stats to compare with newly computed stats to decide whether it should update stats or not.
Why are the changes needed?
bug fix
Does this PR introduce any user-facing change?
no
How was this patch tested?
add new tests