You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2021/03/27 07:17:00 UTC

[jira] [Created] (ARROW-12118) [C++] Primitive types have defined num_children

Jorge Leitão created ARROW-12118:
------------------------------------

             Summary: [C++] Primitive types have defined num_children
                 Key: ARROW-12118
                 URL: https://issues.apache.org/jira/browse/ARROW-12118
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Jorge Leitão


The spec states that `num_children` [should not be defined in primitive types.|https://github.com/apache/parquet-format/blob/7f06e838cbd1b7dbd722ff2580b9c2525e37fc46/src/main/thrift/parquet.thrift#L373] However, we are sometimes writing 0 children on it.

 

Found while going through the rust code: [https://github.com/apache/arrow/blob/5be69789eeac0f2c357cfcd0d329c518848adebc/rust/parquet/src/schema/types.rs#L2030]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)