Pushdown the limit if possible(group by partition column); Fix the queri...

...es that should not push down limit