| 1051 | } |
| 1052 | |
| 1053 | std::shared_ptr<Array> MakeComplex128(const std::shared_ptr<Array>& real, |
| 1054 | const std::shared_ptr<Array>& imag) { |
| 1055 | auto type = complex128(); |
| 1056 | std::shared_ptr<Array> storage( |
| 1057 | new StructArray(checked_cast<const ExtensionType&>(*type).storage_type(), |
| 1058 | real->length(), {real, imag})); |
| 1059 | return ExtensionType::WrapArray(type, storage); |
| 1060 | } |
| 1061 | |
| 1062 | std::shared_ptr<Array> ExampleUuid() { |
| 1063 | auto arr = arrow::ArrayFromJSON( |
nothing calls this directly
no test coverage detected