您的位置:首页 > 运维架构

sqoop导入导出

2016-06-13 20:21 281 查看
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'
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: