Skip to content

Commit

Permalink
feat: rebase with main
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Feb 27, 2024
1 parent 176d410 commit 4409efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ CREATE TABLE my_table (
b STRING,
ts TIMESTAMP TIME INDEX,
)
PARTITION BY RANGE COLUMNS (a) (
PARTITION p0 VALUES LESS THAN (10),
PARTITION p1 VALUES LESS THAN (20),
PARTITION p2 VALUES LESS THAN (MAXVALUE),
);
PARTITION ON COLUMNS (a) ();

Affected Rows: 0

Expand Down Expand Up @@ -41,8 +37,6 @@ SELECT flush_region(greptime_partition_id) from information_schema.partitions WH
| flush_region(information_schema.partitions.greptime_partition_id) |
+-------------------------------------------------------------------+
| 0 |
| 0 |
| 0 |
+-------------------------------------------------------------------+

SELECT compact_region(greptime_partition_id) from information_schema.partitions WHERE table_name = 'my_table';
Expand All @@ -51,8 +45,6 @@ SELECT compact_region(greptime_partition_id) from information_schema.partitions
| compact_region(information_schema.partitions.greptime_partition_id) |
+---------------------------------------------------------------------+
| 0 |
| 0 |
| 0 |
+---------------------------------------------------------------------+

SELECT * FROM my_table;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ CREATE TABLE my_table (
b STRING,
ts TIMESTAMP TIME INDEX,
)
PARTITION BY RANGE COLUMNS (a) (
PARTITION p0 VALUES LESS THAN (10),
PARTITION p1 VALUES LESS THAN (20),
PARTITION p2 VALUES LESS THAN (MAXVALUE),
);
PARTITION ON COLUMNS (a) ();

INSERT INTO my_table VALUES
(1, 'a', 1),
Expand Down

0 comments on commit 4409efb

Please sign in to comment.