Add support for filter, distinct, limit, sample, order, cross, and union