v.20.7Improvement

Fix adaptive granularity error message

Fix error message about adaptive granularity. #12624 (alesapin).
Improved error message for issues related to adaptive granularity in ClickHouse.

Why it matters

This feature fixes unclear or misleading error messages that occur when adaptive granularity settings cause problems. By providing more accurate and informative error messages, it helps users quickly diagnose and resolve issues related to adaptive granularity configuration.

How to use it

No special action is required from users to enable this fix. It is applied automatically in the newer ClickHouse version where the improved error message is integrated.