Skip to content

Apache DataFusion SQL Query Engine

ARROW-1588: [C++/Format] Harden Decimal Format

Phillip Cloud046853c46397
diff --git a/format/Layout.md b/format/Layout.md
index 3c21dbc0dc..ebf93821aa 100644
--- a/format/Layout.md
+++ b/format/Layout.md
@@ -41,9 +41,8 @@ concepts, here is a small glossary to help disambiguate.
or a fully-specified nested type. When we say slot we mean a relative type
value, not necessarily any physical storage region.
* Logical type: A data type that is implemented using some relative (physical)
- type. For example, a Decimal value stored in 16 bytes could be stored in a
- primitive array with slot size 16 bytes. Similarly, strings can be stored as
- `List<1-byte>`.
+ type. For example, Decimal values are stored as 16 bytes in a fixed byte
+ size array. Similarly, strings can be stored as `List<1-byte>`.
* Parent and child arrays: names to express relationships between physical
value arrays in a nested type structure. For example, a `List<T>`-type parent
array has a T-type array as its child (see more on lists below).
diff --git a/format/Metadata.md b/format/Metadata.md
index 80ca08ae13..893b0a4742 100644
--- a/format/Metadata.md
+++ b/format/Metadata.md
@@ -391,7 +391,8 @@ logical type, which have no children) and 3 buffers:
### Decimal
-TBD
+Decimals are represented as a 2's complement 128-bit (16 byte) signed integer
+in little-endian byte order.
### Timestamp