Hive Query Error - While copy existing table data to another table -
i have loaded web file table using serde in hive. able view table data. want copy data new table. if run new table
-create table new_xxx select * xxx
; - job failing.
error in log file:
execution error,return code 2 org.apache.hadoop.hive.ql.exec.mapredtask
run time exception:error
in configuring object.
since using serde load web data 1st table serialize , deserialize table data while insert , select. so, in second table trying insert data should aware of serde used.
use following syntax might you.
create table new_table_xx row format serde "org.apache.hadoop.hive.serde" select .....
Comments
Post a Comment