#pragma once

#include <maps/wikimap/mapspro/services/autocart/pipeline/libs/objects/include/ft_type_id.h>

#include <mapreduce/yt/interface/client.h>

#include <vector>

namespace maps::wiki::autocart::pipeline {

// All input tables must be sorted by "ft_id"
void filterAreasByFTTypeId(
    NYT::IClientBasePtr client,
    const std::vector<TString>& ftYTTableNames,
    const std::vector<TString>& ftGeomTableNames,
    const std::vector<FTTypeId>& ftTypeIds,
    const TString& outputYTTableName);

} // namespace maps::wiki::autocart::pipeline
