StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.74k stars 1.75k forks source link

[Enhancement] Set session variable enable_stats_to_optimize_skew_join to false (backport #47760) #47787

Closed mergify[bot] closed 3 months ago

mergify[bot] commented 3 months ago

Why I'm doing:

if enable_stats_to_optimize_skew_join set to true, it will collect table stats first, it may affect query performance

What I'm doing:

Fixes #issue

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

Bugfix cherry-pick branch check:

Fixes #issue

What type of PR is this:

Does this PR entail a change in behavior?

If yes, please specify the type of change:

Checklist:

mergify[bot] commented 3 months ago

Cherry-pick of b8687750c43d41e4521ff62445cc4e5081487872 has failed:

On branch mergify/bp/branch-3.2/pr-47760
Your branch is up to date with 'origin/branch-3.2'.

You are currently cherry-picking commit b8687750c4.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
    modified:   fe/fe-core/src/main/java/com/starrocks/qe/SessionVariable.java
    modified:   fe/fe-core/src/test/java/com/starrocks/sql/plan/SkewJoinTest.java
    modified:   fe/fe-core/src/test/java/com/starrocks/sql/plan/TPCHPlanWithCostTest.java
    modified:   fe/fe-core/src/test/java/com/starrocks/sql/plan/TPCHPlanWithHistogramCostTest.java

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   fe/fe-core/src/test/java/com/starrocks/sql/plan/HiveTPCHPlanTest.java

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

mergify[bot] commented 3 months ago

@mergify[bot]: Backport conflict, please reslove the conflict and resubmit the pr

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud