Allow implicit cast from numeric types to decimal.

Change-Id: Iafb4c02441b6cd4e64e1c5d06096e01417ebcf2f
Reviewed-on: http://gerrit.ent.cloudera.com:8080/1728
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins