fix HIVE-7567
merge
Merge pull request #2 from ChengXiangLi/spark

Spark