Skip to content

Commit 055406d

Browse files
committed
Let test decide whether to use projection
1 parent 0d7901b commit 055406d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/queries/0_stateless/03401_normal_projection_with_part_offset.reference

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ ORDER BY a
7373
SETTINGS index_granularity = 1;
7474
INSERT INTO test SELECT number, 10 - number FROM numbers(5);
7575
-- Projection analysis should work
76-
SELECT _part_offset FROM test WHERE b = 8
77-
SETTINGS query_plan_enable_optimizations = 1, optimize_use_projections = 1, force_optimize_projection = 1;
76+
SELECT _part_offset FROM test WHERE b = 8;
7877
2
7978
DROP TABLE test;

tests/queries/0_stateless/03401_normal_projection_with_part_offset.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ SETTINGS index_granularity = 1;
8282
INSERT INTO test SELECT number, 10 - number FROM numbers(5);
8383

8484
-- Projection analysis should work
85-
SELECT _part_offset FROM test WHERE b = 8
86-
SETTINGS query_plan_enable_optimizations = 1, optimize_use_projections = 1, force_optimize_projection = 1;
85+
SELECT _part_offset FROM test WHERE b = 8;
8786

8887
DROP TABLE test;

0 commit comments

Comments
 (0)