Expand description
Module for converting between owned and Arrow data structures.
This module provides From
and TryFrom
implementations to go between arrow and owned types
The mapping is as follows:
OwnedType
<-> Array/ArrayRef
OwnedTable
<-> RecordBatch
Boolean
<-> Boolean
BigInt
<-> Int64
VarChar
<-> Utf8/String
Int128
<-> Decimal128(38,0)
Decimal75
<-> S
Note: this converts Int128
values to Decimal128(38,0)
, which are backed by i128
.
This is because there is no Int128
type in Arrow.
This does not check that the values are less than 39 digits.
However, the actual arrow backing i128
is the correct value.
Enumsยง
- Owned
Arrow Conversion Error - Errors caused by conversions between Arrow and owned types.