Fix the subquery table aggregate plan bug; Detect subquery group by without partition by column; Add more planner tests;