今天在hive插入分区表的时候出现以下报错
hive>
insert into table ods_PoliceKill_partition partition (city) select id,name,date,manner_of_death,armed,age,gender,race,state,signs_of_mental_illness,threat_level,flee,body_camera,city from ods_PoliceKill;
报错如下:
java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {"id":147,"name":"Richard Carlin","date":"13/02/15","manner_of_death":"shot","armed":"unarmed","age":35,"gender":"M","race":"H","city":"Reading","state":"PA","signs_of_mental_illness":"FALSE","threat_level":"other","flee":"Not fleeing","body_camera":"FALSE"}
at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.map(ExecMapper.java:179)
at org.apache.hadoop.mapred.MapRunner.run(MapRu