ClickHouse/tests/queries/0_stateless/02481_i43247_ubsan_in_minmaxany.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
693 B
MySQL
Raw Normal View History

-- https://github.com/ClickHouse/ClickHouse/issues/43247
SELECT finalizeAggregation(CAST('AggregateFunction(categoricalInformationValue, Nullable(UInt8), UInt8)AggregateFunction(categoricalInformationValue, Nullable(UInt8), UInt8)',
2022-11-17 19:18:59 +00:00
'AggregateFunction(min, String)')); -- { serverError CANNOT_READ_ALL_DATA }
2022-11-15 15:31:12 +00:00
-- Value from hex(minState('0123456789012345678901234567890123456789012345678901234567890123')). Size 63 + 1 (64)
SELECT finalizeAggregation(CAST(unhex('4000000030313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233'),
'AggregateFunction(min, String)'));