From 8531f8a496e95717760c018e9a5177e4c9b157c5 Mon Sep 17 00:00:00 2001 From: Tobias Zagorni Date: Sun, 22 Jan 2023 18:14:19 +0100 Subject: [PATCH 1/3] doc: fix REE parent null count field --- docs/source/format/Columnar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/format/Columnar.rst b/docs/source/format/Columnar.rst index 578b234301c..fed89450056 100644 --- a/docs/source/format/Columnar.rst +++ b/docs/source/format/Columnar.rst @@ -824,7 +824,7 @@ In Run-end-encoded form, this could appear as: :: - * Length: 7, Null count: 2 + * Length: 7, Null count: 0 * Child Arrays: * run_ends (Int32): From eae2b6611e52a22b41845617c257f145eacc95b9 Mon Sep 17 00:00:00 2001 From: Tobias Zagorni Date: Sun, 22 Jan 2023 18:32:37 +0100 Subject: [PATCH 2/3] clarify null encoding --- docs/source/format/Columnar.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/format/Columnar.rst b/docs/source/format/Columnar.rst index fed89450056..30dd139528b 100644 --- a/docs/source/format/Columnar.rst +++ b/docs/source/format/Columnar.rst @@ -815,6 +815,9 @@ A run must have have a length of at least 1. This means the values in the run ends array all are positive and in strictly ascending order. A run end cannot be null. +The REE parent has no validity bitmap, and it's null count field should always be 0. +validity bitmap. Null values are encoded as runs with the value null. + As an example, you could have the following data: :: type: Float32 From 51595aaeaf17b5b13b3689a288bfa993e4b0c779 Mon Sep 17 00:00:00 2001 From: zagto Date: Sun, 22 Jan 2023 19:07:16 +0100 Subject: [PATCH 3/3] Update docs/source/format/Columnar.rst Co-authored-by: Weston Pace --- docs/source/format/Columnar.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/format/Columnar.rst b/docs/source/format/Columnar.rst index 30dd139528b..9a19d7ecee9 100644 --- a/docs/source/format/Columnar.rst +++ b/docs/source/format/Columnar.rst @@ -816,7 +816,7 @@ run ends array all are positive and in strictly ascending order. A run end canno null. The REE parent has no validity bitmap, and it's null count field should always be 0. -validity bitmap. Null values are encoded as runs with the value null. +Null values are encoded as runs with the value null. As an example, you could have the following data: ::