EXPORT TABLE stu_p TO '/stu_p.dat'; 将数据和元数据导出到hdfs hdfs dfs -ls /stu_p.dat/year=2012
导入表(必须明白导出表,导出表是将表的元数据,数据导出到hdfs上.)讲一个导出的表导入到数据库中,这个hdfs_path 是一个导出表的文件夹
import table tbname from ‘hdfs_path’
6、导入作为一个外部表
export table department to 'hdfs_exports_location/department';
import external table department from 'hdfs_exports_location/department';

 

相关文章:

  • 2022-03-07
  • 2021-10-17
  • 2021-12-24
  • 2022-12-23
  • 2021-05-12
  • 2021-11-15
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2021-07-15
  • 2021-12-27
相关资源
相似解决方案