You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mapleFU (via GitHub)" <gi...@apache.org> on 2023/04/20 03:50:40 UTC

[GitHub] [arrow] mapleFU commented on issue #35236: [C++] params about FileReaderImpl::ReadRowGroups

mapleFU commented on issue #35236:
URL: https://github.com/apache/arrow/issues/35236#issuecomment-1515674378

   You can also tag the issue with "parquet".
   
   1. Yes. It's Leaf's column index. You can get the column from `SchemaManifest`
   2. Not. If there is not nested struct, they should be near. But if we have nested struct, `schema_fields` would be a tree, and column is flatten.
   
   You can talk a look at comment below:
   
   ```
     /// To get the index for a particular leaf field, one can use
     /// manifest().schema_fields to get the top level fields, and then walk the
     /// tree to identify the relevant leaf fields and access its column_index.
     /// To get the total number of leaf fields, use FileMetadata.num_columns().
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org