Fix compatibility

This commit is contained in:
Alexey Milovidov 2024-02-21 08:56:55 +01:00 committed by Austin Kothig
parent 3613464d46
commit 6c6376de0a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ void HedgedConnections::sendQuery(
Settings modified_settings = settings;
/// Queries in foreign languages are transformed to ClickHouse-SQL. Ensure the setting before sending.
modified_settings.dialect = Dialect::clickhouse;
modified_settings.dialect.resetValueToDefault();
if (disable_two_level_aggregation)
{

View File

@ -127,7 +127,7 @@ void MultiplexedConnections::sendQuery(
Settings modified_settings = settings;
/// Queries in foreign languages are transformed to ClickHouse-SQL. Ensure the setting before sending.
modified_settings.dialect = Dialect::clickhouse;
modified_settings.dialect.resetValueToDefault();
for (auto & replica : replica_states)
{