v.21.8Improvement

Fix No available columns error for Merge storage

Fix "No available columns" error for Merge storage. #25801 (Azat Khuzhin).
Fixes the "No available columns" error encountered when querying Merge storage in ClickHouse.

Why it matters

This fix resolves an issue where the Merge storage engine incorrectly reports that there are no available columns, preventing users from successfully querying merged tables. It improves stability and reliability when working with Merge storage.

How to use it

Upgrade to the ClickHouse version containing the fix. The issue will be resolved automatically, requiring no additional configuration from the user.