-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Crash in window function with LowCardinality datatype #31114
Copy link
Copy link
Closed
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-datatype-wrapperType modifiers/wrappers (Nullable, LowCardinality, etc.).Type modifiers/wrappers (Nullable, LowCardinality, etc.).comp-window-functionsWindow function execution + frame handling (ROW_NUMBER/RANK/LAG/LEAD, frames, partitions, order).Window function execution + frame handling (ROW_NUMBER/RANK/LAG/LEAD, frames, partitions, order).crashCrash / segfault / abortCrash / segfault / abortmajor
Metadata
Metadata
Assignees
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-datatype-wrapperType modifiers/wrappers (Nullable, LowCardinality, etc.).Type modifiers/wrappers (Nullable, LowCardinality, etc.).comp-window-functionsWindow function execution + frame handling (ROW_NUMBER/RANK/LAG/LEAD, frames, partitions, order).Window function execution + frame handling (ROW_NUMBER/RANK/LAG/LEAD, frames, partitions, order).crashCrash / segfault / abortCrash / segfault / abortmajor
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe what's wrong
ClickHouse crashes if you execute
max(id) OVER (PARTITION BY id)over LowCardinality columnDoes it reproduce on recent release?
Yes.
ClickHouse version 21.11
How to reproduce
Expected behavior
Both queries works