aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/URL/pathFull.cpp
blob: 9aacee21fed3c7df1b8f5389f1ee331c0affadc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionStringToString.h>
#include <Functions/StringHelpers.h>
#include "path.h"
#include <base/find_symbols.h>

namespace DB
{

struct NamePathFull { static constexpr auto name = "pathFull"; };
using FunctionPathFull = FunctionStringToString<ExtractSubstringImpl<ExtractPath<true>>, NamePathFull>;

REGISTER_FUNCTION(PathFull)
{
    factory.registerFunction<FunctionPathFull>();
}

}