Skip to content

GH-43578: [C++] Simplify arrow::ArrayStatistics::ValueType - #43581

Merged
kou merged 2 commits into
apache:mainfrom
kou:cpp-array-statistics-simplify-value-type
Aug 10, 2024
Merged

kou merged 2 commits into
apache:mainfrom
kou:cpp-array-statistics-simplify-value-type

Conversation

@kou

@kou kou commented Aug 6, 2024 •

Copy link
Copy Markdown
Member

Rationale for this change

We can cover integer values by int64_t and uint64_t and float values by double.

We can remove std::string_view because we don't support out of ArrayStatistics string/binary data.

What changes are included in this PR?

  • Remove uint_8_t, int8_t, uint16_t, int16_t, uint32_t and int32_t
  • Remove arrow::util::Float16 and float
  • Remove std::string_view

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

We can cover integer values by `int64_t` and `uint64_t` and float
values by `double`.

We can remove `std::string_view` because we don't support out of
`ArrayStatistics` string/binary data.
@github-actions

github-actions Bot commented Aug 6, 2024

Copy link
Copy Markdown

⚠️ GitHub issue #43578 has been automatically assigned in GitHub to PR creator.

@kou
kou merged commit aa30de4 into apache:main Aug 10, 2024
@kou
kou deleted the cpp-array-statistics-simplify-value-type branch August 10, 2024 05:45
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit aa30de4.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants