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

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

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

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

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

edited Jan 1, 0001
fsadhjfklds3
asked Feb 20
1 Answers

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

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

edited Feb 24
阿渊@SelectDB8110
answered Feb 21
Related Questions
Logstash写入doris双副本表报错 detailMessage = Label [xxx] has already been used
spark 访问 doris on k8s 总是报错
1 answers
fe和be内存占用过高,一直不降
fe节点启动时遇到问题
禁止在唯一表上使用时间序列压缩策略原因
spark 3.2.4 访问 doris(k8s doris nodeport) 报错

Terms of service Privacy policy

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