|
sparrow-extensions 0.1.0
Extension types for the sparrow library
|
The UUID array is an Arrow-compatible array for storing UUID values according to the Apache Arrow canonical extension specification for UUIDs.
Each UUID is stored as a 16-byte (128-bit) fixed-width binary value.
The UUID extension type is defined as:
arrow.uuidFixedSizeBinary(16)The UUID array automatically sets the following Arrow extension metadata:
ARROW:extension:name: "arrow.uuid"ARROW:extension:metadata: ""This metadata is added to the Arrow schema, allowing other Arrow implementations to recognize the array as containing UUID values.
The uuid_extension struct provides the extension type implementation:
| Member | Description |
|---|---|
UUID_SIZE | Constant equal to 16 (bytes per UUID) |
EXTENSION_NAME | Constant equal to "arrow.uuid" |
The uuid_array type is an alias for sparrow::fixed_width_binary_array_impl with the uuid_extension mixin, providing all the functionality of a fixed-width binary array with UUID-specific extension metadata.