#[unsafe(no_mangle)]pub unsafe extern "C" fn laminar_schema_field_type(
schema: *mut LaminarSchema,
index: usize,
out: *mut *mut c_char,
) -> i32Expand description
Get the type of a field by index.
Returns the Arrow data type as a string (e.g., “Int64”, “Utf8”, “Float64”).
§Arguments
schema- Schema handleindex- Field index (0-based)out- Pointer to receive type name (caller frees withlaminar_string_free)
§Returns
LAMINAR_OK on success, or an error code.
§Safety
schemamust be a valid schema handleindexmust be less than the number of fieldsoutmust be a valid pointer