-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ruihang Xia <[email protected]>
- Loading branch information
Showing
8 changed files
with
185 additions
and
6 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
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
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
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
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
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
33 changes: 33 additions & 0 deletions
33
tests/cases/standalone/common/create/create_with_skip_index.result
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,33 @@ | ||
create table | ||
skipping_table ( | ||
ts timestamp time index, | ||
id string skip, | ||
`name` string skip | ||
with | ||
(granularity = 8192), | ||
); | ||
|
||
Affected Rows: 0 | ||
|
||
show | ||
create table | ||
skipping_table; | ||
|
||
+----------------+-----------------------------------------------+ | ||
| Table | Create Table | | ||
+----------------+-----------------------------------------------+ | ||
| skipping_table | CREATE TABLE IF NOT EXISTS "skipping_table" ( | | ||
| | "ts" TIMESTAMP(3) NOT NULL, | | ||
| | "id" STRING NULL, | | ||
| | "name" STRING NULL, | | ||
| | TIME INDEX ("ts") | | ||
| | ) | | ||
| | | | ||
| | ENGINE=mito | | ||
| | | | ||
+----------------+-----------------------------------------------+ | ||
|
||
drop table skipping_table; | ||
|
||
Affected Rows: 0 | ||
|
14 changes: 14 additions & 0 deletions
14
tests/cases/standalone/common/create/create_with_skip_index.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,14 @@ | ||
create table | ||
skipping_table ( | ||
ts timestamp time index, | ||
id string skip, | ||
`name` string skip | ||
with | ||
(granularity = 8192), | ||
); | ||
|
||
show | ||
create table | ||
skipping_table; | ||
|
||
drop table skipping_table; |