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
New public APIs:
* `arrow::Array::statistics()`: It returns the associated statistics.
It can't be changed after an array is created. A sliced array
doesn't have parent array's statistics because parent array's
statistics isn't valid for sliced array.
* Add new optional `arrow::ArrayStatistics` argument to all
`arrow::*Array(ArrayData)` constructors: `arrow::*Array(ArrayData,
ArrayStatistics = NULLPTR)`
New internal APIs:
* `arrow::Array::Init()`: All array constructors must call this to
attach `arrow::ArrayData` and `arrow::ArrayStatistics`. Note that
calling this via parent's constructor isn't
allowed. Array constructors don't need to call
`arrow::Array::SetData()` directly. It's called in
`arrow::Array::Init()`.
* `arrow::Array::SetStatitics()`: It attaches `arrow::ArrayStatistics`
to `arrow::Array`. In general, this is not called directly. This is
called from `arrow::Array::Init()` internally.
Changed internal APIs:
* `arrow::Array::SetData()`: It becomes a virtual method. So
`arrow::Array::Init()` must be called by each array's constructor.
Describe the enhancement requested
GH-41909 introduced
arrow::ArrayStatitstics
but it's not associated witharrow::Array
.This issue attaches
arrow::ArrayStatistics
toarrow::Array
.See also:
Component(s)
C++
The text was updated successfully, but these errors were encountered: