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

[BugFix] fix uncorrect logical properties when apply LowCardinality optimize #11793

Merged
merged 7 commits into from Oct 3, 2022

Conversation

stdpain
Copy link
Contributor

@stdpain stdpain commented Sep 28, 2022

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #9104

Problem Summary(Required) :

we should rewrite logical property after OptExpression rewrite

Checklist:

  • I have added test cases for my bug fix or my new feature
  • I have added user document for my new feature or new function

Seaven
Seaven previously approved these changes Sep 28, 2022
Seaven
Seaven previously approved these changes Sep 29, 2022
@stdpain
Copy link
Contributor Author

stdpain commented Sep 29, 2022

run starrocks_admit_test

@stdpain
Copy link
Contributor Author

stdpain commented Sep 30, 2022

run starrocks_admit_test

@stdpain
Copy link
Contributor Author

stdpain commented Sep 30, 2022

run starrocks_fe_unittest

@stdpain
Copy link
Contributor Author

stdpain commented Sep 30, 2022

run starrocks_admit_test

Seaven
Seaven previously approved these changes Sep 30, 2022
Youngwb
Youngwb previously approved these changes Sep 30, 2022
@wanpengfei-git wanpengfei-git added the Approved Ready to merge label Sep 30, 2022
@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

1 similar comment
@stdpain
Copy link
Contributor Author

stdpain commented Oct 2, 2022

run starrocks_admit_test

@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

@sonarcloud
Copy link

sonarcloud bot commented Oct 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@wanpengfei-git
Copy link
Collaborator

[FE PR Coverage Check]

😍 pass : 65 / 66 (98.48%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 com/starrocks/sql/optimizer/rule/tree/AddDecodeNodeForDictStringRule.java 55 56 98.21% [1118]
🔵 com/starrocks/sql/plan/PlanFragmentBuilder.java 1 1 100.00% []
🔵 com/starrocks/sql/plan/ScalarOperatorToExpr.java 2 2 100.00% []
🔵 com/starrocks/sql/optimizer/base/LogicalProperty.java 7 7 100.00% []

@kangkaisen kangkaisen enabled auto-merge (squash) October 3, 2022 13:30
@imay imay disabled auto-merge October 3, 2022 13:36
@imay imay merged commit 2ac5807 into StarRocks:main Oct 3, 2022
@stdpain
Copy link
Contributor Author

stdpain commented Oct 10, 2022

https://github.com/Mergifyio backport branch-2.4

@mergify
Copy link
Contributor

mergify bot commented Oct 10, 2022

backport branch-2.4

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Oct 10, 2022
…ptimize (#11793)

we should rewrite logical property after OptExpression rewrite

(cherry picked from commit 2ac5807)
wanpengfei-git pushed a commit that referenced this pull request Oct 15, 2022
…ptimize (#11793)

we should rewrite logical property after OptExpression rewrite

(cherry picked from commit 2ac5807)
@stdpain
Copy link
Contributor Author

stdpain commented Oct 17, 2022

https://github.com/Mergifyio backport branch-2.3 branch-2.2

mergify bot pushed a commit that referenced this pull request Oct 17, 2022
…ptimize (#11793)

we should rewrite logical property after OptExpression rewrite

(cherry picked from commit 2ac5807)

# Conflicts:
#	fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/AddDecodeNodeForDictStringRule.java
mergify bot pushed a commit that referenced this pull request Oct 17, 2022
…ptimize (#11793)

we should rewrite logical property after OptExpression rewrite

(cherry picked from commit 2ac5807)

# Conflicts:
#	fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/AddDecodeNodeForDictStringRule.java
#	fe/fe-core/src/main/java/com/starrocks/sql/plan/ScalarOperatorToExpr.java
#	fe/fe-core/src/test/java/com/starrocks/sql/plan/LowCardinalityTest.java
@mergify
Copy link
Contributor

mergify bot commented Oct 17, 2022

backport branch-2.3 branch-2.2

✅ Backports have been created

stdpain added a commit to stdpain/starrocks-2 that referenced this pull request Oct 24, 2022
…ptimize (StarRocks#11793)

we should rewrite logical property after OptExpression rewrite
wanpengfei-git pushed a commit that referenced this pull request Oct 25, 2022
…ptimize (#11793)

we should rewrite logical property after OptExpression rewrite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unknow error when ctas ue cte
6 participants