Arrow.Array.Decimal32 (Arrow v0.1.0)

Copy Markdown

Fixed-point decimal column. Values are little-endian two's-complement integers of the type's bit width (4 / 8 / 16 / 32 bytes per slot). precision and scale come from the column's type; we carry them on the array so it's self-describing.

Summary

Types

t()

@type t() :: %Arrow.Array.Decimal32{
  length: non_neg_integer(),
  null_count: non_neg_integer(),
  precision: pos_integer(),
  scale: integer(),
  validity: binary() | nil,
  values: binary()
}