ClickHouse/tests/queries/0_stateless/02963_single_value_destructor.sql

9 lines
567 B
SQL

-- When we use SingleValueDataBaseMemoryBlock we must ensure we call the class destructor on destroy
Select argMax((number, number), (number, number)) FROM numbers(100000) format Null;
Select argMin((number, number), (number, number)) FROM numbers(100000) format Null;
Select anyHeavy((number, number)) FROM numbers(100000) format Null;
Select singleValueOrNull(number::Date32) FROM numbers(100000) format Null;
Select anyArgMax(number, (number, number)) FROM numbers(100000) format Null;
Select anyArgMin(number, (number, number)) FROM numbers(100000) format Null;