Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Feb 20, 2024
1 parent df6973e commit 366359e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/operations/settings/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -3393,7 +3393,7 @@ ENGINE = Log

## default_temporary_table_engine {#default_temporary_table_engine}

Same as [default_table_engine](#default_table_engine) but for temporary tables.
Same as [default_table_engine](#default_table_engine) but for temporary tables. The default temporary table engine also can support `MergeTree` well.

Default value: `Memory`.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CREATE TABLE 02992_test (a UInt8, b String, c Nullable(Float), date Date) Engine=MergeTree ORDER BY (a,b) PARTITION BY date;
SET default_temporary_table_engine = 'MergeTree';
CREATE TEMPORARY TABLE 02992_test2 AS 02992_test;
SHOW CREATE TEMPORARY TABLE 02992_test2;

0 comments on commit 366359e

Please sign in to comment.