HCATALOG-580 Optimizations in HCAT-538 break e2e tests


git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1427550 13f79535-47bb-0310-9956-ffa450edef68