MCPcopy Create free account
hub / github.com/apache/arrow / Copy

Method Copy

cpp/src/arrow/compute/exec_test.cc:972–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970 return true;
971 }
972 std::unique_ptr<FunctionOptions> Copy(const FunctionOptions& options) const override {
973 const auto& opts = static_cast<const ExampleOptions&>(options);
974 return std::make_unique<ExampleOptions>(opts.value);
975 }
976};
977ExampleOptions::ExampleOptions(std::shared_ptr<Scalar> value)
978 : FunctionOptions(ExampleOptionsType::GetInstance()), value(std::move(value)) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected