Skip to content

Commit

Permalink
Re-enable alternative plans in join fuzzer (facebookincubator#9898)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebookincubator#9898

Alternative join plans (including sort + merge join) were accidentaly
disabled in a recent refactor
(facebookincubator#9045).
Re-enabling them in this PR.

Reviewed By: mbasmanova

Differential Revision: D57696398

fbshipit-source-id: d0264a1fa214f0e1b46ab03b54fa76fd5fb59173
  • Loading branch information
pedroerp authored and facebook-github-bot committed May 23, 2024
1 parent 8f5d346 commit 96c51ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions velox/exec/fuzzer/JoinFuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,10 @@ void JoinFuzzer::verify(core::JoinType joinType) {
flatBuildInput,
outputColumns));

makeAlternativePlans(defaultPlan.plan, probeInput, buildInput, altPlans);
makeAlternativePlans(
defaultPlan.plan, flatProbeInput, flatBuildInput, altPlans);

const auto tableScanDir = exec::test::TempDirectoryPath::create();
addPlansWithTableScan(
tableScanDir->getPath(),
Expand Down

0 comments on commit 96c51ae

Please sign in to comment.