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

Method ScalarFromTypeCodeAndValue

cpp/src/arrow/scalar_test.cc:1968–1972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966 }
1967
1968 std::shared_ptr<Scalar> ScalarFromTypeCodeAndValue(int8_t type_code,
1969 std::shared_ptr<Scalar> field_value,
1970 int field_index) {
1971 return MakeUnionScalar(*union_type_, type_code, std::move(field_value), field_index);
1972 }
1973
1974 std::shared_ptr<Scalar> SpecificNull(int field_index) {
1975 return MakeSpecificNullScalar(*union_type_, field_index);

Callers

nothing calls this directly

Calls 1

MakeUnionScalarFunction · 0.85

Tested by

no test coverage detected