Add planner support for partial aggregate