Skip to content

Commit

Permalink
change init data
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Dec 23, 2023
1 parent ccd458d commit a98e439
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ suite("aggregate_without_roll_up") {
)
DUPLICATE KEY(o_orderkey, o_custkey)
PARTITION BY RANGE(o_orderdate) (
PARTITION `day_2` VALUES LESS THAN ('2023-12-8'),
PARTITION `day_3` VALUES LESS THAN ("2023-12-10"),
PARTITION `day_2` VALUES LESS THAN ('2023-12-9'),
PARTITION `day_3` VALUES LESS THAN ("2023-12-11"),
PARTITION `day_4` VALUES LESS THAN ("2023-12-30")
)
DISTRIBUTED BY HASH(o_orderkey) BUCKETS 3
Expand Down Expand Up @@ -79,8 +79,8 @@ suite("aggregate_without_roll_up") {
)
DUPLICATE KEY(l_orderkey, l_partkey, l_suppkey, l_linenumber)
PARTITION BY RANGE(l_shipdate) (
PARTITION `day_2` VALUES LESS THAN ('2023-12-8'),
PARTITION `day_3` VALUES LESS THAN ("2023-12-10"),
PARTITION `day_2` VALUES LESS THAN ('2023-12-9'),
PARTITION `day_3` VALUES LESS THAN ("2023-12-11"),
PARTITION `day_4` VALUES LESS THAN ("2023-12-30")
)
DISTRIBUTED BY HASH(l_orderkey) BUCKETS 3
Expand Down Expand Up @@ -119,8 +119,6 @@ suite("aggregate_without_roll_up") {

sql """
insert into orders values
(1, 1, 'o', 9.5, '2023-12-07', 'a', 'b', 1, 'yy'),
(1, 1, 'o', 10.5, '2023-12-07', 'a', 'b', 1, 'yy'),
(2, 1, 'o', 11.5, '2023-12-09', 'a', 'b', 1, 'yy'),
(3, 1, 'o', 12.5, '2023-12-10', 'a', 'b', 1, 'yy'),
(3, 1, 'o', 33.5, '2023-12-10', 'a', 'b', 1, 'yy'),
Expand Down

0 comments on commit a98e439

Please sign in to comment.