diff --git a/src/Client/ReplxxLineReader.cpp b/src/Client/ReplxxLineReader.cpp index fa5ba8b8ba9..1979b37a94b 100644 --- a/src/Client/ReplxxLineReader.cpp +++ b/src/Client/ReplxxLineReader.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include #include diff --git a/src/Parsers/IParser.h b/src/Parsers/IParser.h index dbd292bcd9f..d53b58baa7c 100644 --- a/src/Parsers/IParser.h +++ b/src/Parsers/IParser.h @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include diff --git a/src/Processors/QueryPlan/FilterStep.cpp b/src/Processors/QueryPlan/FilterStep.cpp index dc837446a96..9137b2d1998 100644 --- a/src/Processors/QueryPlan/FilterStep.cpp +++ b/src/Processors/QueryPlan/FilterStep.cpp @@ -14,7 +14,7 @@ static ITransformingStep::Traits getTraits(const ActionsDAGPtr & expression, con bool preserves_sorting = expression->isSortingPreserved(header, sort_description, remove_filter_column ? filter_column_name : ""); if (remove_filter_column) { - preserves_sorting &= find_if( + preserves_sorting &= std::find_if( begin(sort_description), end(sort_description), [&](const auto & column_desc) { return column_desc.column_name == filter_column_name; }) diff --git a/src/Storages/MeiliSearch/StorageMeiliSearch.cpp b/src/Storages/MeiliSearch/StorageMeiliSearch.cpp index 62a6c471070..fe8cc74f577 100644 --- a/src/Storages/MeiliSearch/StorageMeiliSearch.cpp +++ b/src/Storages/MeiliSearch/StorageMeiliSearch.cpp @@ -99,7 +99,7 @@ Pipe StorageMeiliSearch::read( for (const auto & el : query_params->children) { auto str = el->getColumnName(); - auto it = find(str.begin(), str.end(), '='); + auto it = std::find(str.begin(), str.end(), '='); if (it == str.end()) throw Exception(ErrorCodes::BAD_QUERY_PARAMETER, "meiliMatch function must have parameters of the form \'key=value\'");