Skip to content

[C++] Attach arrow::ArrayStatistics to arrow::ArrayData #43797

Closed

Description

@kou

Describe the enhancement requested

This is another approach of GH-43666.

GH-41909 introduced arrow::ArrayStatitstics but it's not associated with arrow::Array.

This issue attaches arrow::ArrayStatistics to arrow::ArrayData.

There was a concern that associated arrow::ArrayStatistics may be outdated if arrow::ArrayData is mutated after attaching arrow::ArrayStatistics. But arrow::ArrayData isn't mutable after the first population. So arrow::ArrayStatistics will not be outdated. We can require mutators to take responsibility for statistics.

See also: Discussion at #43705 (comment)

Component(s)

C++

Activity

  1. added this to the 18.0.0 milestone on Sep 3, 2024
  2. kou commented on Sep 3, 2024

    @kou
    MemberAuthor

    Issue resolved by pull request 43801
    #43801

  3. added a commit that references this issue on Sep 14, 2024
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