v.25.10Improvement

Make TCP and HTTP behavior consistent

Make TCP and HTTP behavior consistent when there duplicated external tables are passed. HTTP allows a temporary table to be passed several times. #88032 (Sema Checherinda).
Make TCP and HTTP interfaces consistent in handling duplicated external tables, allowing the same temporary table to be passed multiple times over TCP as HTTP does.

Why it matters

This feature resolves the inconsistency between ClickHouse's TCP and HTTP protocols where HTTP supports passing the same external temporary table multiple times, but TCP does not. By aligning TCP behavior with HTTP, it simplifies client implementations and avoids errors related to duplicated external tables.

How to use it

No additional user configuration is required. When passing external tables over TCP or HTTP, users can now specify the same temporary table multiple times without errors.