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

Function Constant

cpp/src/arrow/testing/generator.cc:374–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372} // namespace
373
374std::shared_ptr<ArrayGenerator> Constant(std::shared_ptr<Scalar> value) {
375 return std::make_shared<ConstantGenerator>(std::move(value));
376}
377
378std::shared_ptr<ArrayGenerator> Random(std::shared_ptr<DataType> type) {
379 return std::make_shared<RandomGenerator>(std::move(type));

Callers 2

TESTFunction · 0.85
row_test.ccFile · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68