v.23.9Bug Fix

fix name clash for multiple join rewriter v2

fix name clash for multiple join rewriter v2 #54240 (Tao Wang).