2021-09-07 23:55:17 +00:00
|
|
|
#include "UserDefinedExecutableFunction.h"
|
|
|
|
|
|
|
|
#include <Functions/IFunction.h>
|
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
#include <Functions/FunctionHelpers.h>
|
|
|
|
|
2021-10-15 20:18:20 +00:00
|
|
|
#include <Processors/Sources/ShellCommandSource.h>
|
|
|
|
#include <Formats/formatBlock.h>
|
2021-09-07 23:55:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
UserDefinedExecutableFunction::UserDefinedExecutableFunction(
|
2021-09-10 15:02:06 +00:00
|
|
|
const UserDefinedExecutableFunctionConfiguration & configuration_,
|
2021-12-28 09:43:30 +00:00
|
|
|
std::shared_ptr<ShellCommandSourceCoordinator> coordinator_,
|
2021-11-01 11:22:21 +00:00
|
|
|
const ExternalLoadableLifetime & lifetime_)
|
2021-09-10 15:02:06 +00:00
|
|
|
: configuration(configuration_)
|
2021-11-01 11:22:21 +00:00
|
|
|
, coordinator(std::move(coordinator_))
|
2021-09-07 23:55:17 +00:00
|
|
|
, lifetime(lifetime_)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-05-16 18:59:27 +00:00
|
|
|
}
|