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

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

Asked May 11, 2024 Modified May 13, 2024
Viewed 99
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
徐振超@SelectDB7931
answered May 11, 2024
Related Questions
Doris BE 集群1-2个节点过一段时间后内存持续升高,出现OOM,定位是冷数据垃圾回收功能影响
doris2.1.7 truncate table xxx 及 create table 报错,faied to find enugh backend
1 answers
flinksql写Doris标记删除时'sink.enable-delete' = 'false'的含义
1 answers
2.1.0 BE OOM,内存分析求助
1 answers
doris无法对包含.的文本进行分词
1 answers
doris be节点会不定期在凌晨02:00 崩溃
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 中文技术论坛.