导出导入

 hive8 -e "select * from app.app_cmo_datacube_b2c_sku_detail_mi where op_time='2015-12'" > app_cmo_datacube_b2c_sku_detail_mi.txt

  load data local inpath '/home/hadp/xxx/dim_channel_terminal_flag.txt' overwrite into table dim.dim_channel_terminal_flag partition(dt='2016-01');

猜你喜欢

转载自niewj.iteye.com/blog/2275338