apache/incubator-optiq — pull request #8 by ashutoshc (2014-08-27 21:27:15+00:00)
Title: Don't add new RelNode if there are no projects

select null from T; will run into this issue.