[RFC] useDefaultImplementationForLowCardinalityColumns should not return LowCardinality for small types #63477
Labels
performance
st-discussion
The story requires discussion /research / expert help / design & decomposition before will be taken
Somewhat related to #63458
Also related to #63398
We don't support LowCardinality on small types on CREATE queries (unless
allow_suspicious_low_cardinality_types
is enabled) because it's useless, bad for performance and takes more space.But then we do this:
I think we shouldn't wrap the return type of functions with LowCardinality by default unless it's of a big type, that is, ignore the ones disallowed by
allow_suspicious_low_cardinality_types
.This might be a breaking change, so I'd rather hear thoughts first.
The text was updated successfully, but these errors were encountered: