inlineProjSchema contains the group by columns, while aggSchema does not. I will add them into a comment.