aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/services/mounts/yql_mounts.h
blob: f289d57b9986e65a46de6df5de49a94fcd3d3169 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include <yql/essentials/core/user_data/yql_user_data.h>
#include <yql/essentials/core/yql_type_annotation.h>

namespace NYql {

void LoadYqlDefaultMounts(TUserDataTable& userData);

bool GetYqlDefaultModuleResolver(
        TExprContext& ctx,
        IModuleResolver::TPtr& moduleResolver,
        const THashMap<TString, TString>& clusterMapping = {},
        bool optimizeLibraries = true);

bool GetYqlDefaultModuleResolverWithContext(
    IModuleResolver::TPtr& moduleResolver,
    const THashMap<TString, TString>& clusterMapping = {},
    bool optimizeLibraries = true);

TUserDataTable GetYqlModuleResolver(
        TExprContext& ctx,
        IModuleResolver::TPtr& moduleResolver,
        const TVector<NUserData::TUserData>& userData,
        const THashMap<TString, TString>& clusterMapping,
        const THashSet<TString>& sqlFlags,
        bool optimizeLibraries = true);

} // namespace NYql