HIVE-7372: Select query gives unpredictable incorrect result when parallelism is greater than 1 [Spark Branch]

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1609633 13f79535-47bb-0310-9956-ffa450edef68
HIVE-7329: Create SparkWork

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