Skip to content

Commit

Permalink
Properly indicate sorted column
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTF committed Oct 29, 2024
1 parent c141129 commit d791d92
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions test/TransitivePathTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ class TransitivePathTest
auto [T, qec] = makePath(std::move(input), vars, std::move(left),
std::move(right), minDist, maxDist);
auto leftOp = ad_utility::makeExecutionTree<ValuesForTesting>(
qec, std::move(sideTable), sideVars, false, std::vector<ColumnIndex>{},
LocalVocab{}, std::nullopt, forceFullyMaterialized);
qec, std::move(sideTable), sideVars, false,
std::vector<ColumnIndex>{sideTableCol}, LocalVocab{}, std::nullopt,
forceFullyMaterialized);
return T->bindLeftSide(leftOp, sideTableCol);
}

Expand All @@ -68,7 +69,8 @@ class TransitivePathTest
auto [T, qec] = makePath(std::move(input), vars, std::move(left),
std::move(right), minDist, maxDist);
auto leftOp = ad_utility::makeExecutionTree<ValuesForTesting>(
qec, std::move(sideTables), sideVars);
qec, std::move(sideTables), sideVars, false,
std::vector<ColumnIndex>{sideTableCol});
return T->bindLeftSide(leftOp, sideTableCol);
}

Expand All @@ -79,8 +81,9 @@ class TransitivePathTest
auto [T, qec] = makePath(std::move(input), vars, std::move(left),
std::move(right), minDist, maxDist);
auto rightOp = ad_utility::makeExecutionTree<ValuesForTesting>(
qec, std::move(sideTable), sideVars, false, std::vector<ColumnIndex>{},
LocalVocab{}, std::nullopt, forceFullyMaterialized);
qec, std::move(sideTable), sideVars, false,
std::vector<ColumnIndex>{sideTableCol}, LocalVocab{}, std::nullopt,
forceFullyMaterialized);
return T->bindRightSide(rightOp, sideTableCol);
}

Expand All @@ -91,7 +94,8 @@ class TransitivePathTest
auto [T, qec] = makePath(std::move(input), vars, std::move(left),
std::move(right), minDist, maxDist);
auto rightOp = ad_utility::makeExecutionTree<ValuesForTesting>(
qec, std::move(sideTables), sideVars);
qec, std::move(sideTables), sideVars, false,
std::vector<ColumnIndex>{sideTableCol});
return T->bindRightSide(rightOp, sideTableCol);
}

Expand Down

0 comments on commit d791d92

Please sign in to comment.