| 1077 | } |
| 1078 | |
| 1079 | std::shared_ptr<Array> ExampleDictExtension() { |
| 1080 | auto arr = DictArrayFromJSON(dictionary(int8(), utf8()), "[0, 1, null, 1]", |
| 1081 | R"(["foo", "bar"])"); |
| 1082 | return ExtensionType::WrapArray(dict_extension_type(), arr); |
| 1083 | } |
| 1084 | |
| 1085 | std::shared_ptr<Array> ExampleComplex128() { |
| 1086 | auto arr = arrow::ArrayFromJSON(struct_({field("", float64()), field("", float64())}), |
nothing calls this directly
no test coverage detected