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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -