insert into table1;

insert overwrite table table1;

用这两个语句建表,若table1里原来有数据,insert into 会在原来数据的基础上插入新数据;

而insert overwrite 会将table1里面已有原来的数据删掉,再往table1插入新的数据。

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐