mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
cleanup
This commit is contained in:
parent
bd6d7facf1
commit
7c55ecf67d
@ -246,7 +246,7 @@ public:
|
||||
|
||||
// Boundaries of the current partition.
|
||||
// partition_start doesn't point to a valid block, because we want to drop
|
||||
// the blocks early to save memory. We still have track it so that we can
|
||||
// the blocks early to save memory. We still have to track it so that we can
|
||||
// cut off a PRECEDING frame at the partition start.
|
||||
// The `partition_end` is past-the-end, as usual. When
|
||||
// partition_ended = false, it still haven't ended, and partition_end is the
|
||||
|
@ -565,3 +565,6 @@ SELECT count(*) OVER (ROWS BETWEEN 2 PRECEDING AND CURRENT ROW) FROM numbers(4);
|
||||
3
|
||||
-- seen a use-after-free under MSan in this query once
|
||||
SELECT number, max(number) OVER (PARTITION BY intDiv(number, 7) ORDER BY number ASC NULLS LAST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1024) SETTINGS max_block_size = 2 FORMAT Null;
|
||||
-- a corner case
|
||||
select count() over ();
|
||||
1
|
||||
|
@ -180,3 +180,5 @@ SELECT count(*) OVER (ROWS BETWEEN 2 PRECEDING AND CURRENT ROW) FROM numbers(4);
|
||||
-- seen a use-after-free under MSan in this query once
|
||||
SELECT number, max(number) OVER (PARTITION BY intDiv(number, 7) ORDER BY number ASC NULLS LAST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1024) SETTINGS max_block_size = 2 FORMAT Null;
|
||||
|
||||
-- a corner case
|
||||
select count() over ();
|
||||
|
Loading…
Reference in New Issue
Block a user