HIVE-7619 : Enable views when cbo is on (Ashutosh Chauhan via Harish Butani)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/cbo@1616107 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7621 : Add tests for cte with cbo (Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/cbo@1616108 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7625 : CBO: stats for Partitioned tables are not read correctly. (Harish Butani via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/cbo@1616109 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7628 : CBO: log Plan coming out of each phase in Optiq Planning (Harish Butani via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/cbo@1616110 13f79535-47bb-0310-9956-ffa450edef68