hive中新加字段需要注意如下

1)如果表中有分区字段,必须先删除分区才能插入数据否则为null;

2)insert override TABLE table1 select counm1,counm2 from table2; counm1,counm2的顺序必须与table1中字段的顺序一致否则为插入的值不对;

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2021-06-08
  • 2022-12-23
  • 2021-09-03
  • 2021-12-04
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-29
  • 2021-08-15
  • 2022-01-02
  • 2021-08-15
  • 2022-12-23
  • 2021-11-18
相关资源
相似解决方案