hive中新加字段須要注意以下:ide
1)若是表中有分區字段,必須先刪除分區才能插入數據不然爲null;spa
2)insert override TABLE table1 select counm1,counm2 from table2; counm1,counm2的順序必須與table1中字段的順序一致不然爲插入的值不對;orm