Apache Doris 中文技术论坛
Questions Tags Users Badges

insert overwrite table table_name partition(*) 第二次覆盖插入0条数据到当前有数据的分区,当前分区不会被清空

Asked Feb 20 Modified Jan 1, 0001
Viewed 65
3.0 ingestion

第一次插入数据完成后清空主表数据,准备进行第二次当天分区数据的覆盖插入

第二次覆盖插入当天分区0条数据,但是当天分区没有被清空

edited Jan 1, 0001
fsadhjfklds3
asked Feb 20
1 Answers

同步问题:
由于 insert overwrite 的时候加了个partition(*) 这个会自动计算需要替换哪些分区,没有数据也就不会替换。

如果不加partition(*),就是替换整个表,原始表的数据就会被清空。

edited Feb 24
阿渊@SelectDB8285
answered Feb 21
Related Questions
3.0.6写数据到hive过一段时间报没有权限
doris3.0.6创建外部目录,连接sqlserver数据库,创建语句无报错,目录也创建好了,但目录下无法查到数据库
doris3.0.7切换FE的leader报错ERROR 1105 (HY000): errCode = 2, detailMessage =
整库同步中连接器版本问题
1 answers
doris运行报错the report queue size exceeds the limit: 100 current: 101
1 answers
执行SQL报错[INTERNAL_ERROR]Invalid regex expression,java代码可以正常执行
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.