G select distinct a from a; (before rewrites) cluster0 Box0:Select cluster1 Box1:BaseTable A boxhead0 Distinct: Enforce 0: Q0.c0 as A UNIQUE KEY [0] Q0 Q0(F) as A boxhead1 Distinct: Preserve 0: c0 as A 1: c1 as B Q0->boxhead1