| 1020 | std::shared_ptr<DataType> complex128() { return std::make_shared<Complex128Type>(); } |
| 1021 | |
| 1022 | std::shared_ptr<Array> MakeComplex128(const std::shared_ptr<Array>& real, |
| 1023 | const std::shared_ptr<Array>& imag) { |
| 1024 | auto type = complex128(); |
| 1025 | std::shared_ptr<Array> storage( |
| 1026 | new StructArray(checked_cast<const ExtensionType&>(*type).storage_type(), |
| 1027 | real->length(), {real, imag})); |
| 1028 | return ExtensionType::WrapArray(type, storage); |
| 1029 | } |
| 1030 | |
| 1031 | std::shared_ptr<Array> ExampleUuid() { |
| 1032 | auto arr = arrow::ArrayFromJSON( |
nothing calls this directly
no test coverage detected