HIVE-3976: Support specifying scale and precision with Hive decimal type
Review Request #14674 - Created Oct. 16, 2013 and updated
This patch is one of the major pieces to support precision/scale for Hive decimal data type. The following are the highlights: 1. Grammar changes to allow optional precision/scale. 2. Semantical check added for decimal precision/scale. 3. Type info and object inspector factory changes. 4. UDF changes 5. Precision/scale enforcement in relavent object inspectors. 6. Test case changes/fixes. 7. New test cases.
All unit tests passed last time when I ran them. New tests also passed when tested manually.