Skip to content

Commit

Permalink
[Format] Document the REE format string in the C data interface refer…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
felipecrv committed Aug 15, 2023
1 parent 5a10e61 commit 6c291a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/format/CDataInterface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ names and types of child fields are read from the child arrays.
+------------------------+---------------------------------------------------+------------+
| ``+us:I,J,...`` | sparse union with type ids I,J... | |
+------------------------+---------------------------------------------------+------------+
| ``+r`` | run-end encoded | |
+------------------------+---------------------------------------------------+------------+

Notes:

Expand Down Expand Up @@ -245,6 +247,9 @@ Examples
* A ``sparse_union<ints: int32, floats: float32>`` with type ids ``4, 5``
has format string ``+us:4,5``; its two children have names ``ints`` and
``floats``, and format strings ``i`` and ``f`` respectively.
* A ``run_end_encoded<int32, float32>`` has format string ``+r``; its two
children have names ``run_ends`` and ``values``, and format strings
``i`` and ``f`` respectively.

.. _c-data-interface-struct-defs:

Expand Down

0 comments on commit 6c291a6

Please sign in to comment.