Skip to content

Commit

Permalink
Fix test sfter merge
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzm committed Jan 10, 2025
1 parent a4505c9 commit 2a1678e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions tsl/test/expected/vectorized_aggregation.out
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ SELECT sum(segment_by_value) FROM testtable GROUP BY int_value;
Output: _hyper_1_10_chunk.int_value, _hyper_1_10_chunk.segment_by_value
(63 rows)

-- Vectorization not possible with grouping by multiple columns
-- Vectorization possible with grouping by multiple columns
:EXPLAIN
SELECT sum(segment_by_value) FROM testtable GROUP BY int_value, float_value;
QUERY PLAN
Expand All @@ -548,23 +548,23 @@ SELECT sum(segment_by_value) FROM testtable GROUP BY int_value, float_value;
Output: _hyper_1_1_chunk.int_value, _hyper_1_1_chunk.float_value, (PARTIAL sum(_hyper_1_1_chunk.segment_by_value))
Workers Planned: 2
-> Parallel Append
-> Partial HashAggregate
Output: _hyper_1_1_chunk.int_value, _hyper_1_1_chunk.float_value, PARTIAL sum(_hyper_1_1_chunk.segment_by_value)
Group Key: _hyper_1_1_chunk.int_value, _hyper_1_1_chunk.float_value
-> Custom Scan (VectorAgg)
Output: _hyper_1_1_chunk.int_value, _hyper_1_1_chunk.float_value, (PARTIAL sum(_hyper_1_1_chunk.segment_by_value))
Grouping Policy: hashed with serialized key
-> Custom Scan (DecompressChunk) on _timescaledb_internal._hyper_1_1_chunk
Output: _hyper_1_1_chunk.int_value, _hyper_1_1_chunk.float_value, _hyper_1_1_chunk.segment_by_value
-> Parallel Seq Scan on _timescaledb_internal.compress_hyper_2_11_chunk
Output: compress_hyper_2_11_chunk._ts_meta_count, compress_hyper_2_11_chunk.segment_by_value, compress_hyper_2_11_chunk._ts_meta_min_1, compress_hyper_2_11_chunk._ts_meta_max_1, compress_hyper_2_11_chunk."time", compress_hyper_2_11_chunk.int_value, compress_hyper_2_11_chunk.float_value
-> Partial HashAggregate
Output: _hyper_1_2_chunk.int_value, _hyper_1_2_chunk.float_value, PARTIAL sum(_hyper_1_2_chunk.segment_by_value)
Group Key: _hyper_1_2_chunk.int_value, _hyper_1_2_chunk.float_value
-> Custom Scan (VectorAgg)
Output: _hyper_1_2_chunk.int_value, _hyper_1_2_chunk.float_value, (PARTIAL sum(_hyper_1_2_chunk.segment_by_value))
Grouping Policy: hashed with serialized key
-> Custom Scan (DecompressChunk) on _timescaledb_internal._hyper_1_2_chunk
Output: _hyper_1_2_chunk.int_value, _hyper_1_2_chunk.float_value, _hyper_1_2_chunk.segment_by_value
-> Parallel Seq Scan on _timescaledb_internal.compress_hyper_2_12_chunk
Output: compress_hyper_2_12_chunk._ts_meta_count, compress_hyper_2_12_chunk.segment_by_value, compress_hyper_2_12_chunk._ts_meta_min_1, compress_hyper_2_12_chunk._ts_meta_max_1, compress_hyper_2_12_chunk."time", compress_hyper_2_12_chunk.int_value, compress_hyper_2_12_chunk.float_value
-> Partial HashAggregate
Output: _hyper_1_3_chunk.int_value, _hyper_1_3_chunk.float_value, PARTIAL sum(_hyper_1_3_chunk.segment_by_value)
Group Key: _hyper_1_3_chunk.int_value, _hyper_1_3_chunk.float_value
-> Custom Scan (VectorAgg)
Output: _hyper_1_3_chunk.int_value, _hyper_1_3_chunk.float_value, (PARTIAL sum(_hyper_1_3_chunk.segment_by_value))
Grouping Policy: hashed with serialized key
-> Custom Scan (DecompressChunk) on _timescaledb_internal._hyper_1_3_chunk
Output: _hyper_1_3_chunk.int_value, _hyper_1_3_chunk.float_value, _hyper_1_3_chunk.segment_by_value
-> Parallel Seq Scan on _timescaledb_internal.compress_hyper_2_13_chunk
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/vectorized_aggregation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ SELECT sum(segment_by_value) FROM testtable GROUP BY float_value;
:EXPLAIN
SELECT sum(segment_by_value) FROM testtable GROUP BY int_value;

-- Vectorization not possible with grouping by multiple columns
-- Vectorization possible with grouping by multiple columns
:EXPLAIN
SELECT sum(segment_by_value) FROM testtable GROUP BY int_value, float_value;

Expand Down

0 comments on commit 2a1678e

Please sign in to comment.