I'm confused about why we seem to be building two different NodeSchemas from the same set of scols -- aggSchema and inlineProjSchema. Do these two really need to be different or can one just be clined from the other? 
If some difference is required, explain it in a comment.