HIVE-7530 - Go thru the common code to find references to HIVE_EXECUCTION_ENGINE to make sure conditions works with Spark (Na Yang via Brock) [Spark Branch]

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