v.25.12Improvement

Throw "not implemented" for truncate query

Throw "not implemented" for truncate query for data lakes instead of silently doing nothing. Closes #86604. #91713 (Kseniia Sumarokova).
ClickHouse now throws a "not implemented" exception when a TRUNCATE query is executed on data lakes, instead of silently doing nothing.

Why it matters

This feature improves user awareness by clearly indicating that TRUNCATE is not supported for data lakes, preventing confusion from queries appearing to succeed without any effect.

How to use it

When executing a TRUNCATE query on data lakes, ClickHouse will automatically raise an exception. Users do not need to enable anything; the behavior is enforced by default to signal unsupported operations.