MCPcopy Create free account
hub / github.com/apache/cloudberry / add_paths_to_joinrel

Function add_paths_to_joinrel

src/backend/optimizer/path/joinpath.c:434–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void
435add_paths_to_joinrel(PlannerInfo *root,
436 RelOptInfo *joinrel,
437 RelOptInfo *outerrel,
438 RelOptInfo *innerrel,
439 JoinType jointype,
440 SpecialJoinInfo *sjinfo,
441 List *restrictlist)
442{
443 if(add_paths_to_joinrel_hook != NULL) {
444 add_paths_to_joinrel_hook(root, joinrel, outerrel, innerrel, jointype, sjinfo, restrictlist);
445 } else {
446 add_paths_to_join_relation(root, joinrel, outerrel, innerrel, jointype, sjinfo, restrictlist);
447 }
448}
449
450/*
451 * We override the param_source_rels heuristic to accept nestloop paths in

Callers 1

Calls 1

Tested by

no test coverage detected