Improve partition spec analysis error message.

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