forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default_temporary_table_engine provides better support for MergeTree
- Loading branch information
1 parent
76578eb
commit 2c6b1e1
Showing
3 changed files
with
44 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/queries/0_stateless/02992_default_temporary_table_engine_supported_mergetree.reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE TEMPORARY TABLE `02992_test2`\n(\n `a` UInt8,\n `b` String,\n `c` Nullable(Float32),\n `date` Date\n)\nENGINE = MergeTree\nPARTITION BY date\nORDER BY (a, b)\nSETTINGS index_granularity = 8192 |
3 changes: 3 additions & 0 deletions
3
tests/queries/0_stateless/02992_default_temporary_table_engine_supported_mergetree.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CREATE TABLE 02992_test (a UInt8, b String, c Nullable(Float), date Date) Engine=MergeTree ORDER BY (a,b) PARTITION BY date; | ||
CREATE TEMPORARY TABLE 02992_test2 AS 02992_test; | ||
SHOW CREATE TEMPORARY TABLE 02992_test2; |