Skip to content

[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
wzhfy:failto_update_part_stats_2.3
Closed

[SPARK-30269][SQL][2.3] Should use old partition stats to decide whether to update stats when analyzing partition#26964
wzhfy wants to merge 1 commit intoapache:branch-2.3from
wzhfy:failto_update_part_stats_2.3

Conversation

@wzhfy
Copy link
Contributor

@wzhfy wzhfy commented Dec 20, 2019

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

…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>
@HyukjinKwon
Copy link
Member

@wzhfy, Spark 2.3.x is EOL so there would be no more release in 2.3 line. Let me leave this closed.

@wzhfy
Copy link
Contributor Author

wzhfy commented Dec 20, 2019

Ok.

@SparkQA
Copy link

SparkQA commented Dec 20, 2019

Test build #115614 has finished for PR 26964 at commit e1ce234.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants