v.25.10Bug Fix (user-visible misbehavior in an official stable release)

Fix propagation of is_shared flag

Fixed propagation of is_shared flag in ColumnLowCardinality. It may lead to a wrong group-by result if a new value is inserted in a column after hash values are already pre-calculated and cached in the ReverseIndex. #88213 (Nikita Taranov).