v.20.4Improvement

Display Results Immediately for SELECT DISTINCT Queries in ClickHouse

Display result as soon as it's ready for SELECT DISTINCT queries in clickhouse-local and HTTP interface. This fixes #8951 #9559 (alexey-milovidov)
Enables early display of results for SELECT DISTINCT queries in clickhouse-local and HTTP interfaces.

Why it matters

This feature addresses the delay in result presentation for SELECT DISTINCT queries by allowing results to be shown as soon as they are ready, improving query responsiveness and user experience.

How to use it

Use SELECT DISTINCT queries as usual in clickhouse-local or via the HTTP interface. Results will now be streamed and displayed progressively as they become available without any additional configuration.