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

[Colocate plan][Step1] Colocate join covers more situations #5521

Merged
merged 6 commits into from
Apr 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comment
  • Loading branch information
EmmyMiao87 committed Apr 8, 2021
commit 0d817bbf1933456926a27776aaf82849e706e3bc
8 changes: 8 additions & 0 deletions fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,14 @@ public String toString() {
selectivity).add("#distinct", numDistinctValues).add("scale", outputScale).toString();
}

/**
* This method is mainly used to find the original column corresponding to the current expr.
* Find the initial slotRef from the current slot ref.
*
* If the initial expr is not a slotRef, it returns null directly.
* If the current slotRef comes from another expression transformation,
* rather than directly from another slotRef, null will also be returned.
*/
public SlotRef getSrcSlotRef() {
SlotRef unwrapSloRef = this.unwrapSlotRef();
if (unwrapSloRef == null) {
Expand Down