This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 43b29b9cf3 minor enhance doc for ParquetField (#6239)
43b29b9cf3 is described below

commit 43b29b9cf3663db90f88f97a4a9248598fa558a7
Author: mwish <[email protected]>
AuthorDate: Wed Aug 14 04:16:23 2024 +0800

    minor enhance doc for ParquetField (#6239)
---
 parquet/src/arrow/schema/complex.rs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/parquet/src/arrow/schema/complex.rs 
b/parquet/src/arrow/schema/complex.rs
index 3107a282e0..a5f6d242ef 100644
--- a/parquet/src/arrow/schema/complex.rs
+++ b/parquet/src/arrow/schema/complex.rs
@@ -38,10 +38,11 @@ fn get_repetition(t: &Type) -> Repetition {
 #[derive(Debug, Clone)]
 pub struct ParquetField {
     /// The level which represents an insertion into the current list
-    /// i.e. guaranteed to be > 0 for a list type
+    /// i.e. guaranteed to be > 0 for an element of list type
     pub rep_level: i16,
     /// The level at which this field is fully defined,
-    /// i.e. guaranteed to be > 0 for a nullable type
+    /// i.e. guaranteed to be > 0 for a nullable type or child of a 
+    /// nullable type
     pub def_level: i16,
     /// Whether this field is nullable
     pub nullable: bool,

Reply via email to