mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix the code
This commit is contained in:
parent
092ed2b16a
commit
3613464d46
@ -177,9 +177,8 @@ void HedgedConnections::sendQuery(
|
||||
{
|
||||
Settings modified_settings = settings;
|
||||
|
||||
// Kusto and PRQL queries to replicas are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
if (modified_settings.dialect == Dialect::kusto || modified_settings.dialect == Dialect::prql)
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
/// Queries in foreign languages are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
|
||||
if (disable_two_level_aggregation)
|
||||
{
|
||||
|
@ -126,9 +126,8 @@ void MultiplexedConnections::sendQuery(
|
||||
|
||||
Settings modified_settings = settings;
|
||||
|
||||
// Kusto and PRQL queries to replicas are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
if (modified_settings.dialect == Dialect::kusto || modified_settings.dialect == Dialect::prql)
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
/// Queries in foreign languages are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
|
||||
for (auto & replica : replica_states)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user