Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs-next/table-design/temporary-table.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---
{
"title": "Temporary Table",
"title": "Temporary Table (Experimental)",
"language": "en",
"description": "A Doris temporary table is a session-scoped materialized internal table used to break down complex SQL queries and store intermediate computation results. It is automatically dropped when the session ends, with no manual cleanup required."
}
---

:::note

The temporary table is an experimental feature. It is not recommended for use in a production environment.
:::

<!-- Knowledge type: Feature -->
<!-- Applicable scenarios: Complex SQL decomposition / Intermediate result staging / Data debugging -->

Expand Down
7 changes: 6 additions & 1 deletion docs/table-design/temporary-table.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---

Check notice on line 1 in docs/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @apache/doris-website-maintainers

Check warning on line 1 in docs/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "Temporary Table (Experimental) - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers
{
"title": "Temporary Table",
"title": "Temporary Table (Experimental)",
"language": "en",
"description": "When performing complex data processing tasks, breaking down large SQL queries into multiple steps and temporarily saving the results of each step as "
}
---

:::note

The temporary table is an experimental feature. It is not recommended for use in a production environment.
:::

When performing complex data processing tasks, breaking down large SQL queries into multiple steps and temporarily saving the results of each step as physical tables is an effective strategy. This method can significantly reduce the complexity of SQL queries and enhance data debuggability. However, it is important to note that these physical tables must be manually cleaned up after they have served their purpose. If non-physical temporary tables are preferred, Doris currently only supports defining them via the `WITH` clause.

To address the above issues, Doris introduces the temporary table feature. Temporary tables are temporarily existing materialized internal tables with the following key characteristics:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---
{
"title": "临时表",
"title": "临时表(实验功能)",
"language": "zh-CN",
"description": "Doris 临时表(Temporary Table)是会话级物化内表,用于拆分复杂 SQL 查询、保存中间计算结果,会话结束后自动删除,无需手动清理。"
}
---

:::note

临时表是一个实验性质的功能。不推荐在生产环境使用。
:::

<!-- 知识类型: 功能特性 -->
<!-- 适用场景: 复杂 SQL 拆分 / 中间结果暂存 / 数据调试 -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "临时表(实验功能) - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers
{
"title": "临时表",
"title": "临时表(实验功能)",
"language": "zh-CN",
"description": "在进行复杂的数据处理任务时,将大型 SQL 查询拆分为多个步骤,并将每个步骤的计算结果临时保存为实体表,是一种有效的策略。这种方法能够显著降低 SQL 查询的复杂度,并提升数据的可调试性。然而,需要注意的是,实体表在完成其使用目的后,需要手动进行清理。若选择使用非实体临时表,"
}
---

:::note

临时表是一个实验性质的功能。不推荐在生产环境使用。
:::

在进行复杂的数据处理任务时,将大型 SQL 查询拆分为多个步骤,并将每个步骤的计算结果临时保存为实体表,是一种有效的策略。这种方法能够显著降低 SQL 查询的复杂度,并提升数据的可调试性。然而,需要注意的是,实体表在完成其使用目的后,需要手动进行清理。若选择使用非实体临时表,当前 Doris 仅支持通过 `WITH` 子句进行定义。

为了解决上述问题,Doris 引入了临时表功能。临时表是一种临时存在的物化内表,具备以下关键特性:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "临时表(实验功能) - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers
{
"title": "临时表",
"title": "临时表(实验功能)",
"language": "zh-CN",
"description": "在进行复杂的数据处理任务时,将大型 SQL 查询拆分为多个步骤,并将每个步骤的计算结果临时保存为实体表,是一种有效的策略。这种方法能够显著降低 SQL 查询的复杂度,并提升数据的可调试性。然而,需要注意的是,实体表在完成其使用目的后,需要手动进行清理。若选择使用非实体临时表,"
}
---

:::note

临时表是一个实验性质的功能。不推荐在生产环境使用。
:::

在进行复杂的数据处理任务时,将大型 SQL 查询拆分为多个步骤,并将每个步骤的计算结果临时保存为实体表,是一种有效的策略。这种方法能够显著降低 SQL 查询的复杂度,并提升数据的可调试性。然而,需要注意的是,实体表在完成其使用目的后,需要手动进行清理。若选择使用非实体临时表,当前 Doris 仅支持通过 `WITH` 子句进行定义。

为了解决上述问题,Doris 引入了临时表功能。临时表是一种临时存在的物化内表,具备以下关键特性:
Expand Down
7 changes: 6 additions & 1 deletion versioned_docs/version-4.x/table-design/temporary-table.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---

Check notice on line 1 in versioned_docs/version-4.x/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @apache/doris-website-maintainers

Check warning on line 1 in versioned_docs/version-4.x/table-design/temporary-table.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "Temporary Table (Experimental) - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers
{
"title": "Temporary Table",
"title": "Temporary Table (Experimental)",
"language": "en",
"description": "When performing complex data processing tasks, breaking down large SQL queries into multiple steps and temporarily saving the results of each step as "
}
---

:::note

The temporary table is an experimental feature. It is not recommended for use in a production environment.
:::

When performing complex data processing tasks, breaking down large SQL queries into multiple steps and temporarily saving the results of each step as physical tables is an effective strategy. This method can significantly reduce the complexity of SQL queries and enhance data debuggability. However, it is important to note that these physical tables must be manually cleaned up after they have served their purpose. If non-physical temporary tables are preferred, Doris currently only supports defining them via the `WITH` clause.

To address the above issues, Doris introduces the temporary table feature. Temporary tables are temporarily existing materialized internal tables with the following key characteristics:
Expand Down
Loading