planner: refactor tryToGetIndexJoin
(#45617)
#45841
Merged
tryToGetIndexJoin
(#45617)
#45841