Skip to content

[C++] Add arrow::ArrayStatistics #41909

Closed

Description

@kou

Describe the enhancement requested

An Arrow array doesn't have statistics but Arrow array source such as Parquet column may have statistics.
We can get the source statistics via source reader such as parquet::ColumnChunkMetaData::statistics() (parquet::ParquetFileReader::metadata()->RowGroup(X)->ColumnChunk(Y)->statistics()) but can't get read Arrow array (e.g. parquet::arrow::FileReader::ReadColumn()).

How about adding arrow::ArrayStatistics or something and attaching source statistics to arrow::Array?

Component(s)

C++

Activity

  1. llama90 commented on Jun 1, 2024

    @llama90
    Contributor

    I think this is a great idea.

    Adding arrow::ArrayStatistics and connecting source statistics to arrow::Array will help users get and use statistics directly from Arrow arrays.

    This can make Arrow easier to use, especially for people working with data sources like Parquet that have statistics.

  2. kou commented on Jun 3, 2024

    @kou
    MemberAuthor
  3. added 2 commits that reference this issue on Aug 2, 2024
  4. added this to the 18.0.0 milestone on Aug 4, 2024
  5. kou commented on Aug 4, 2024

    @kou
    MemberAuthor

    Issue resolved by pull request 43273
    #43273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions