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/06/09 04:50:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-12118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Leitão updated ARROW-12118:
---------------------------------
    Summary: [C++] [Parquet] Primitive types have defined num_children  (was: [C++] Primitive types have defined num_children)

> [C++] [Parquet] 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
>            Priority: Minor
>
> 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)