sqoop导入导出

sqoop  export --table tm_stockdeal_d  -connect jdbc:oracle:thin:@192.168.1.10:1521:orcl  --username stock --password stock     --export-dir '/user/hive/warehouse/tm_stockdeal_d/000000_0'  --input-fields-terminated-by ',' --input-lines-terminated-by '\n' --columns 't_date,t_month,code,name,start_price,top_price,low_price,end_price,l_end_price,c_end_price,m_state,cj_quantity,deal_time'

你可能感兴趣的:(sqoop导入导出)