Skip to content

[C++][Statistics] Fix the ownership handling of arrow::ArrayData::statistics in arrow::ArrayData::CopyTo and arrow::ArrayDataViewOrCopy #46578

Open
@andishgar

Description

@andishgar

Describe the bug, including details regarding any error messages, version, and platform.

As discussed here, the following line should either share or copy arrow::ArrayData::statistics, depending on whether the buffers are copied or viewed.

output->statistics = data.statistics;

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions