#Hive报错
FAILED: ClassCastException org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableStringObjectInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.primitive.LongObjectInspector
经debug后发现group by里某个字段重复出现两次,删除其中一个后,问题成功解决。