ClickHouse/src/Interpreters/UserDefinedExecutableFunction.cpp

25 lines
563 B
C++
Raw Normal View History

#include "UserDefinedExecutableFunction.h"
#include <Functions/IFunction.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionHelpers.h>
#include <DataStreams/ShellCommandSource.h>
#include <DataStreams/formatBlock.h>
namespace DB
{
UserDefinedExecutableFunction::UserDefinedExecutableFunction(
const Config & config_,
2021-09-09 13:47:48 +00:00
std::shared_ptr<scope_guard> function_deregister_,
const ExternalLoadableLifetime & lifetime_)
: config(config_)
2021-09-09 13:47:48 +00:00
, function_deregister(std::move(function_deregister_))
, lifetime(lifetime_)
{
}
};