v.24.4Improvement

Avoid Evaluating Table DEFAULT Expressions During RESTORE

Avoid evaluating table DEFAULT expressions while executing RESTORE. #62601 (Vitaly Baranov).
Avoid evaluating table DEFAULT expressions during the execution of RESTORE operations in ClickHouse.

Why it matters

This feature prevents the evaluation of table DEFAULT expressions when performing a RESTORE, which can cause unexpected behavior or errors. It ensures that the restore process runs smoothly without being affected by these expressions, enhancing stability and reliability during data restoration.

How to use it

This improvement is applied automatically during the RESTORE command execution. Users do not need to change any settings; the system now internally skips the evaluation of DEFAULT expressions during restore.