jackwener commented on code in PR #2580:
URL: https://github.com/apache/arrow-datafusion/pull/2580#discussion_r878828246
##########
datafusion/core/src/optimizer/limit_push_down.rs:
##########
@@ -157,25 +158,99 @@ fn limit_push_down(
)?),
}))
}
+ (LogicalPlan::Join(Join { join_type, .. }), upper_limit) => match
join_type {
+ JoinType::Left => {
+ //if LeftOuter join push limit to left
+ generate_push_down_join(
+ _optimizer,
+ _execution_props,
+ plan,
+ upper_limit,
+ None,
+ )
+ }
+ JoinType::Right =>
+ //if RightOuter join push limit to right
Review Comment:
Minor advice
```suggestion
// If RightOuter join push limit to right
```
--
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]