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

Function ExampleComplex128

cpp/src/arrow/testing/gtest_util.cc:1085–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1083}
1084
1085std::shared_ptr<Array> ExampleComplex128() {
1086 auto arr = arrow::ArrayFromJSON(struct_({field("", float64()), field("", float64())}),
1087 "[[1.0, -2.5], null, [3.0, -4.5]]");
1088 return ExtensionType::WrapArray(complex128(), arr);
1089}
1090
1091std::shared_ptr<Array> ExampleDenseUnionExtension() {
1092 auto type = dense_union_extension_type();

Callers 1

TEST_FFunction · 0.85

Calls 4

ArrayFromJSONFunction · 0.85
struct_Function · 0.85
complex128Function · 0.85
fieldFunction · 0.50

Tested by

no test coverage detected