v.24.8New Feature
Add Options to Replace External Engines with Null for Testing in RESTORE and Table Creation
Add optionsrestore_replace_external_engines_to_nullandrestore_replace_external_table_functions_to_nullto replace external engines and table_engines toNullengine that can be useful for testing. It should work for RESTORE and explicit table creation. #66536 (Ilya Yatsishin).
Why it matters
These options allow users to substitute external engines and external table functions with theNull engine, which is useful for testing scenarios where external dependencies should be disabled or ignored to avoid execution errors or side effects.How to use it
Users can enable these options by settingrestore_replace_external_engines_to_null and/or restore_replace_external_table_functions_to_null to true in the server configuration or session settings. This will cause ClickHouse to replace any external engine or external table function with the Null engine during RESTORE commands or when creating tables explicitly.