HIVE-8637: In insert into X select from Y, table properties from X are clobbering those from Y (Alan Gates via Gunther Hagleitner)

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