mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Only set dialect if KQL or PRQL.
This commit is contained in:
parent
0dfcf954a1
commit
f5ba7fde9f
@ -178,7 +178,8 @@ void HedgedConnections::sendQuery(
|
||||
Settings modified_settings = settings;
|
||||
|
||||
// Kusto and PRQL queries to replicas are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
if (modified_settings.dialect == Dialect::kusto || modified_settings.dialect == Dialect::prql)
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
|
||||
if (disable_two_level_aggregation)
|
||||
{
|
||||
|
@ -127,7 +127,8 @@ void MultiplexedConnections::sendQuery(
|
||||
Settings modified_settings = settings;
|
||||
|
||||
// Kusto and PRQL queries to replicas are transformed to ClickHouse-SQL. Ensure the setting before sending.
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
if (modified_settings.dialect == Dialect::kusto || modified_settings.dialect == Dialect::prql)
|
||||
modified_settings.dialect = Dialect::clickhouse;
|
||||
|
||||
for (auto & replica : replica_states)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user