You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Activity
llama90 commentedon Jun 1, 2024
I think this is a great idea.
Adding
arrow::ArrayStatisticsand connecting source statistics toarrow::Arraywill 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.
kou commentedon Jun 3, 2024
The mailing list discussion: https://lists.apache.org/thread/kcpyq9npnh346pw90ljwbg0wxq6hwxxh
apacheGH-41909: [C++] Add arrow::ArrayStatistics
GH-41909: [C++] Add arrow::ArrayStatistics (#43273)
kou commentedon Aug 4, 2024
Issue resolved by pull request 43273
#43273