HIVE-8627: Compute stats on a table from impala caused the table to be corrupted (Na via Xuefu)

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