diff --git a/src/vtab/arrow.rs b/src/vtab/arrow.rs index 3d6c23c2..bde98c5d 100644 --- a/src/vtab/arrow.rs +++ b/src/vtab/arrow.rs @@ -196,8 +196,8 @@ pub fn to_duckdb_logical_type(data_type: &DataType) -> Result Self { + unsafe { + Self { + ptr: duckdb_create_array_type(child_type.ptr, array_size), + } + } + } + /// Creates a decimal type from its `width` and `scale`. pub fn decimal(width: u8, scale: u8) -> Self { unsafe {