sudo -u hive hive -e "use dataplat;load data local inpath '/home/dlht/data/test/2_times.csv' overwrite into table 2_times "

 

这时中文乱码

 

解决办法是,将数据转成utf-8。。

 

相关文章:

  • 2021-07-15
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-10
猜你喜欢
  • 2021-05-27
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-08-22
相关资源
相似解决方案