|
|
@ -246,9 +246,9 @@ impl<'a> PlanBuilder<'a> { |
|
|
|
GraphPattern::Distinct { inner } => PlanNode::HashDeduplicate { |
|
|
|
GraphPattern::Distinct { inner } => PlanNode::HashDeduplicate { |
|
|
|
child: Box::new(self.build_for_graph_pattern(inner, variables, graph_name)?), |
|
|
|
child: Box::new(self.build_for_graph_pattern(inner, variables, graph_name)?), |
|
|
|
}, |
|
|
|
}, |
|
|
|
GraphPattern::Reduced { inner } => { |
|
|
|
GraphPattern::Reduced { inner } => PlanNode::Reduced { |
|
|
|
self.build_for_graph_pattern(inner, variables, graph_name)? |
|
|
|
child: Box::new(self.build_for_graph_pattern(inner, variables, graph_name)?), |
|
|
|
} |
|
|
|
}, |
|
|
|
GraphPattern::Slice { |
|
|
|
GraphPattern::Slice { |
|
|
|
inner, |
|
|
|
inner, |
|
|
|
start, |
|
|
|
start, |
|
|
@ -1096,6 +1096,7 @@ impl<'a> PlanBuilder<'a> { |
|
|
|
} |
|
|
|
} |
|
|
|
PlanNode::Sort { child, .. } |
|
|
|
PlanNode::Sort { child, .. } |
|
|
|
| PlanNode::HashDeduplicate { child } |
|
|
|
| PlanNode::HashDeduplicate { child } |
|
|
|
|
|
|
|
| PlanNode::Reduced { child } |
|
|
|
| PlanNode::Skip { child, .. } |
|
|
|
| PlanNode::Skip { child, .. } |
|
|
|
| PlanNode::Limit { child, .. } => { |
|
|
|
| PlanNode::Limit { child, .. } => { |
|
|
|
self.add_left_join_problematic_variables(&*child, set) |
|
|
|
self.add_left_join_problematic_variables(&*child, set) |
|
|
@ -1186,6 +1187,7 @@ impl<'a> PlanBuilder<'a> { |
|
|
|
| PlanNode::Service { .. } |
|
|
|
| PlanNode::Service { .. } |
|
|
|
| PlanNode::Sort { .. } |
|
|
|
| PlanNode::Sort { .. } |
|
|
|
| PlanNode::HashDeduplicate { .. } |
|
|
|
| PlanNode::HashDeduplicate { .. } |
|
|
|
|
|
|
|
| PlanNode::Reduced { .. } |
|
|
|
| PlanNode::Skip { .. } |
|
|
|
| PlanNode::Skip { .. } |
|
|
|
| PlanNode::Limit { .. } |
|
|
|
| PlanNode::Limit { .. } |
|
|
|
| PlanNode::Project { .. } |
|
|
|
| PlanNode::Project { .. } |
|
|
|