Skip to content

Commit

Permalink
Changed base class to PhysicalComparisonJoin so two children are allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Feb 27, 2024
1 parent 92536ff commit 2dd2996
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@

#pragma once

#include "duckdb/execution/operator/join/physical_comparison_join.hpp"
#include "duckdb/execution/physical_operator.hpp"
#include "duckdb/planner/operator/logical_extension_operator.hpp"

namespace duckdb {
class PhysicalPathFinding : public CachingPhysicalOperator {
class PhysicalPathFinding : public PhysicalComparisonJoin {
public:
static constexpr const PhysicalOperatorType TYPE =
PhysicalOperatorType::EXTENSION;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace duckdb {
PhysicalPathFinding::PhysicalPathFinding(LogicalExtensionOperator &op,
unique_ptr<PhysicalOperator> left,
unique_ptr<PhysicalOperator> right)
: CachingPhysicalOperator(TYPE, op.types, 0) {
: PhysicalComparisonJoin(op, TYPE, {}, JoinType::INNER, 0) {
children.push_back(std::move(left));
children.push_back(std::move(right));
}
Expand Down

0 comments on commit 2dd2996

Please sign in to comment.