| 1089 | } |
| 1090 | |
| 1091 | std::shared_ptr<Array> ExampleDenseUnionExtension() { |
| 1092 | auto type = dense_union_extension_type(); |
| 1093 | auto storage_type = checked_cast<const ExtensionType&>(*type).storage_type(); |
| 1094 | return ExtensionType::WrapArray( |
| 1095 | type, ArrayFromJSON(storage_type, R"([[0, 1.5], [1, "abc"]])")); |
| 1096 | } |
| 1097 | |
| 1098 | std::shared_ptr<Array> ExampleSparseUnionExtension() { |
| 1099 | auto type = sparse_union_extension_type(); |
nothing calls this directly
no test coverage detected