You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2020/10/08 00:26:00 UTC

[jira] [Resolved] (ARROW-10134) [C++][Dataset] Add ParquetFileFragment::num_row_groups property

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

Ben Kietzman resolved ARROW-10134.
----------------------------------
    Resolution: Fixed

Issue resolved by pull request 8317
[https://github.com/apache/arrow/pull/8317]

> [C++][Dataset] Add ParquetFileFragment::num_row_groups property
> ---------------------------------------------------------------
>
>                 Key: ARROW-10134
>                 URL: https://issues.apache.org/jira/browse/ARROW-10134
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Joris Van den Bossche
>            Assignee: Ben Kietzman
>            Priority: Major
>              Labels: dataset, dataset-dask-integration, pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> From https://github.com/dask/dask/pull/6534#issuecomment-699512602, comment by [~rjzamora]:
> bq.  it would be great to have access the total row-group count for the fragment from a {{num_row_groups}} attribute (which pyarrow should be able to get without parsing all row-group metadata/statistics - I think?).
> One question is: does this attribute correspond to the row groups in the parquet file, or the (subset of) row groups represented by the fragment? 
> I expect the second (so if you do SplitByRowGroup, you would get a fragment with num_row_groups==1), but this might be a potential confusing aspect of the attribute.



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