Skip to content

Conversation

@LiBinfeng-01
Copy link
Contributor

Proposed changes

example: when one query block have t1 join t2 join t3, leading should have these three tables together

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@LiBinfeng-01
Copy link
Contributor Author

run buildall

}
if (getTablelist().size() < inputRelationSets.size()) {
this.setStatus(HintStatus.SYNTAX_ERROR);
this.setErrorMessage("leading should have all tables in query block");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list missing table here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Long totalBitmap = 0L;
if (hasSameName()) {
this.setStatus(HintStatus.SYNTAX_ERROR);
this.setErrorMessage("duplicated table");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list duplicated table name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@LiBinfeng-01 LiBinfeng-01 force-pushed the fix_leading_all_tables branch from c1c781d to 491e6ca Compare April 11, 2024 14:06
@LiBinfeng-01
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 12, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@morrySnow morrySnow merged commit 7e48587 into apache:master Apr 12, 2024
seawinde pushed a commit to seawinde/doris that referenced this pull request Apr 15, 2024
seawinde pushed a commit to seawinde/doris that referenced this pull request Apr 17, 2024
LiBinfeng-01 added a commit to LiBinfeng-01/doris that referenced this pull request Apr 18, 2024
LiBinfeng-01 added a commit to LiBinfeng-01/doris that referenced this pull request May 23, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.11-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants