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

如何像mysql一样定义会话级别的临时表?CTE如何定义成会话级别?

Asked May 11, 2024 Modified May 13, 2024
Viewed 143
2.1 demand

1.在doris如何实现类似mysql临时表功能?

CREATE TEMPORARY TABLE temp_table_name AS
SELECT column1, column2, ...
FROM source_table
WHERE condition;

2.或者CTE是否可以在整个会话中生效?

edited May 13, 2024
wangdi29
asked May 11, 2024
1 Answers

这个暂时不支持,有想法的话,欢迎参与贡献呀~

edited May 13, 2024
徐振超@SelectDB(可以直接加微信Faith_xzc)8286
answered May 11, 2024
Related Questions
每隔2小时左右,fe master中org.apache.doris.catalog.Replica对象快速上涨,导致老年代内存飙升,触发fullgc
doris2.1.11,be节点的数据目录下很多_tmp目录,把inode打满
doris 2.1.7 be 有时候会假死,进程还在fe那边是false
2 answers
fe 2.1.7 节点崩溃重启
1 answers
doris 2.1.9 自动分区最佳实践中, "dynamic_partition.end" = "0"和文档介绍不一致
1 answers
doris 使用minio备份
1 answers

Terms of service Privacy policy

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