fix test failure when allow_experimental_analyzer=1

This commit is contained in:
zhangyifan27 2024-01-19 16:11:30 +08:00
parent 68b518e324
commit 7e56a2d925
2 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,7 @@ StreamLocalLimits getLimitsForStorage(const Settings & settings, const SelectQue
limits.speed_limits.max_execution_rps = settings.max_execution_speed;
limits.speed_limits.max_execution_bps = settings.max_execution_speed_bytes;
limits.speed_limits.timeout_before_checking_execution_speed = settings.timeout_before_checking_execution_speed;
limits.speed_limits.max_estimated_execution_time = settings.max_estimated_execution_time;
return limits;
}

View File

@ -696,6 +696,7 @@ void RemoteQueryExecutor::sendExternalTables()
limits.mode = LimitsMode::LIMITS_TOTAL;
limits.speed_limits.max_execution_time = settings.max_execution_time;
limits.timeout_overflow_mode = settings.timeout_overflow_mode;
limits.speed_limits.max_estimated_execution_time = settings.max_estimated_execution_time;
for (size_t i = 0; i < count; ++i)
{