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)

Reply via email to