Skip to content

Commit

Permalink
Add missing ORDER BY clause to compression_ddl_iso test
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm committed Jan 7, 2025
1 parent 6ce35d7 commit d0ff15d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tsl/test/isolation/expected/compression_ddl_iso.out
Original file line number Diff line number Diff line change
Expand Up @@ -540,12 +540,13 @@ total_chunks|number_compressed_chunks
3| 3
(1 row)

step SA: SELECT * FROM ts_device_table;
step SA: SELECT * FROM ts_device_table t ORDER BY t;
time|device|location|value
----+------+--------+-----
0| 1| 100| 20
1| 1| 100| 20
1| 1| 100| 100
1| 1| 200| 100
2| 1| 100| 20
3| 1| 100| 20
4| 1| 100| 20
Expand All @@ -554,7 +555,6 @@ time|device|location|value
7| 1| 100| 20
8| 1| 100| 20
9| 1| 100| 20
1| 1| 200| 100
10| 1| 100| 20
11| 1| 100| 20
12| 1| 100| 20
Expand Down Expand Up @@ -660,7 +660,7 @@ total_chunks|number_compressed_chunks
3| 3
(1 row)

step SA: SELECT * FROM ts_device_table;
step SA: SELECT * FROM ts_device_table t ORDER BY t;
time|device|location|value
----+------+--------+-----
0| 1| 100| 20
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/isolation/specs/compression_ddl_iso.spec
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ session "S"
step "S1" { SELECT count(*) from ts_device_table; }
step "SC1" { SELECT (count_chunktable(ch)).* FROM show_chunks('ts_device_table') AS ch ORDER BY ch::text LIMIT 1; }
step "SH" { SELECT total_chunks, number_compressed_chunks from hypertable_compression_stats('ts_device_table'); }
step "SA" { SELECT * FROM ts_device_table; }
step "SA" { SELECT * FROM ts_device_table t ORDER BY t; }


session "LCT"
Expand Down

0 comments on commit d0ff15d

Please sign in to comment.