From 12e5dd4a23efbaf7ee0214bd24bef312e6f1a412 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:49:01 +0100 Subject: [PATCH] reference REL_17_0-80-gb7467ab71c cagg_union_view-* continuous_aggs-* transparent_decompression-* --- tsl/test/expected/continuous_aggs-17.out | 50 ++++++++++++------------ 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/tsl/test/expected/continuous_aggs-17.out b/tsl/test/expected/continuous_aggs-17.out index 7a52c68c544..38804430ea2 100644 --- a/tsl/test/expected/continuous_aggs-17.out +++ b/tsl/test/expected/continuous_aggs-17.out @@ -2035,8 +2035,8 @@ SELECT * FROM mat_m1; -- Merge Append EXPLAIN (COSTS OFF) SELECT * FROM mat_m1; - QUERY PLAN -------------------------------------------------------------------------------------------------------------------------------- + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------ Merge Append Sort Key: _hyper_59_123_chunk.sum DESC -> Merge Append @@ -2049,18 +2049,17 @@ EXPLAIN (COSTS OFF) SELECT * FROM mat_m1; Sort Key: (sum(_hyper_52_111_chunk.temperature)) DESC -> Finalize GroupAggregate Group Key: (time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec)) - -> Sort + -> Merge Append Sort Key: (time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec)) - -> Append - -> Partial GroupAggregate - Group Key: time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec) - -> Index Scan Backward using _hyper_52_111_chunk_conditions_timec_idx on _hyper_52_111_chunk - Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) - -> Partial GroupAggregate - Group Key: time_bucket('@ 7 days'::interval, _hyper_52_125_chunk.timec) - -> Index Scan Backward using _hyper_52_125_chunk_conditions_timec_idx on _hyper_52_125_chunk - Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) -(23 rows) + -> Partial GroupAggregate + Group Key: time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec) + -> Index Scan Backward using _hyper_52_111_chunk_conditions_timec_idx on _hyper_52_111_chunk + Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) + -> Partial GroupAggregate + Group Key: time_bucket('@ 7 days'::interval, _hyper_52_125_chunk.timec) + -> Index Scan Backward using _hyper_52_125_chunk_conditions_timec_idx on _hyper_52_125_chunk + Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) +(22 rows) -- Ordering by another column SELECT * FROM mat_m1 ORDER BY count; @@ -2073,8 +2072,8 @@ SELECT * FROM mat_m1 ORDER BY count; (4 rows) EXPLAIN (COSTS OFF) SELECT * FROM mat_m1 ORDER BY count; - QUERY PLAN -------------------------------------------------------------------------------------------------------------------------------------- + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------ Sort Sort Key: _hyper_59_123_chunk.count -> Merge Append @@ -2089,18 +2088,17 @@ EXPLAIN (COSTS OFF) SELECT * FROM mat_m1 ORDER BY count; Sort Key: (sum(_hyper_52_111_chunk.temperature)) DESC -> Finalize GroupAggregate Group Key: (time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec)) - -> Sort + -> Merge Append Sort Key: (time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec)) - -> Append - -> Partial GroupAggregate - Group Key: time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec) - -> Index Scan Backward using _hyper_52_111_chunk_conditions_timec_idx on _hyper_52_111_chunk - Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) - -> Partial GroupAggregate - Group Key: time_bucket('@ 7 days'::interval, _hyper_52_125_chunk.timec) - -> Index Scan Backward using _hyper_52_125_chunk_conditions_timec_idx on _hyper_52_125_chunk - Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) -(25 rows) + -> Partial GroupAggregate + Group Key: time_bucket('@ 7 days'::interval, _hyper_52_111_chunk.timec) + -> Index Scan Backward using _hyper_52_111_chunk_conditions_timec_idx on _hyper_52_111_chunk + Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) + -> Partial GroupAggregate + Group Key: time_bucket('@ 7 days'::interval, _hyper_52_125_chunk.timec) + -> Index Scan Backward using _hyper_52_125_chunk_conditions_timec_idx on _hyper_52_125_chunk + Index Cond: (timec >= 'Sun Nov 04 16:00:00 2018 PST'::timestamp with time zone) +(24 rows) -- Change the type of cagg ALTER MATERIALIZED VIEW mat_m1 SET (timescaledb.materialized_only=true);