What if a test case like: 
CREATE INDEX R5_INDEX ON  (A, B);

SelfJoin query has order by X.A, Y.B. Will it use the full index or part of it?
--- Because the SubPlanAssembler only check table name instead of alias.