HIVE-5859 : Create view does not captures inputs (Navis via Thejas Nair)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1564472 13f79535-47bb-0310-9956-ffa450edef68
HIVE-6327: A few mathematic functions don't take decimal input (reviewed by Jason Dere)

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