Try fix integration tests.

This commit is contained in:
Nikolai Kochetov 2020-12-16 11:52:04 +03:00
parent 01286a6a09
commit 44d2194326

View File

@ -43,6 +43,7 @@ static Context createQueryContext(const Context & global_context)
{ {
Settings new_query_settings = global_context.getSettings(); Settings new_query_settings = global_context.getSettings();
new_query_settings.insert_allow_materialized_columns = true; new_query_settings.insert_allow_materialized_columns = true;
new_query_settings.optimize_on_insert = false;
Context query_context(global_context); Context query_context(global_context);
query_context.setSettings(new_query_settings); query_context.setSettings(new_query_settings);