Remove unused template parameter from fillColumnsFromMap

This commit is contained in:
vdimir 2023-12-11 11:34:54 +00:00
parent 8ebd5a2d6c
commit cdfe99c380
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -1954,9 +1954,9 @@ public:
}
else
{
auto fill_callback = [&](auto, auto strictness, auto & map)
auto fill_callback = [&](auto, auto, auto & map)
{
rows_added = fillColumnsFromMap<strictness>(map, columns_right);
rows_added = fillColumnsFromMap(map, columns_right);
};
if (!joinDispatch(parent.kind, parent.strictness, parent.data->maps.front(), fill_callback))
@ -2017,14 +2017,14 @@ private:
return rows_added;
}
template <JoinStrictness STRICTNESS, typename Maps>
template <typename Maps>
size_t fillColumnsFromMap(const Maps & maps, MutableColumns & columns_keys_and_right)
{
switch (parent.data->type)
{
#define M(TYPE) \
case HashJoin::Type::TYPE: \
return fillColumns<STRICTNESS>(*maps.TYPE, columns_keys_and_right);
return fillColumns(*maps.TYPE, columns_keys_and_right);
APPLY_FOR_JOIN_VARIANTS(M)
#undef M
default:
@ -2034,7 +2034,7 @@ private:
UNREACHABLE();
}
template <JoinStrictness STRICTNESS, typename Map>
template <typename Map>
size_t fillColumns(const Map & map, MutableColumns & columns_keys_and_right)
{
size_t rows_added = 0;