vinson0526 opened a new issue #7698: URL: https://github.com/apache/incubator-doris/issues/7698
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description Elimination of outer joins, if the predicates can restrict the result sets s all null-supplying rows are eliminated - full outer -> inner if both sides have such predicates - left outer -> inner if the right side has such predicates - right outer -> inner if the left side has such predicates - full outer -> left outer if only the left side has such predicates - full outer -> right outer if only the right side has such predicates ### Solution Reference implementation of Spark: https://github.com/apache/spark/blob/9c12c3765bda65caf0f7b55b3a0d2f2642e2ac4f/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/joins.scala#L136 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
