| 20 | return TestRunner::getLogicalPlan(query, *conn); |
| 21 | } |
| 22 | std::pair<planner::LogicalOperator*, planner::LogicalOperator*> getSource( |
| 23 | planner::LogicalOperator* op, planner::LogicalOperator* parent = nullptr) { |
| 24 | if (op->getNumChildren() == 0) { |
| 25 | return {parent, op}; |
| 26 | } |
| 27 | return getSource(op->getChild(0).get(), op); |
| 28 | } |
| 29 | planner::LogicalOperator* getOpWithType(planner::LogicalOperator* op, |
| 30 | planner::LogicalOperatorType type) { |
| 31 | if (op->getOperatorType() == type) { |
nothing calls this directly
no test coverage detected