You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "andishgar (via GitHub)" <gi...@apache.org> on 2025/05/06 16:11:36 UTC
[PR] GH-46226 :[C++][Statistics] Add Setter, Getter and ArrayStatisticsValue alias for ArrayStatistics [arrow]
andishgar opened a new pull request, #46337:
URL: https://github.com/apache/arrow/pull/46337
### Rationale for this change
Add several symbols to ArrayStatistics to make the APi simpler
### What changes are included in this PR?
Add set_min, set_max, get_min, get_max and ArrayStatisticsValue type alias for ArrayStatistics::ValueType
### Are these changes tested?
Yes, I run the relevant unit test.
### Are there any user-facing changes?
Yes. Add new apis which encompass set_min, set_max, get_min, get_max and ArrayStatisticsValue type alias
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46226 :[C++][Statistics] Add Setter and Getter for ArrayStatistics [arrow]
Posted by "andishgar (via GitHub)" <gi...@apache.org>.
andishgar commented on PR #46337:
URL: https://github.com/apache/arrow/pull/46337#issuecomment-2857541881
@kou I’d like to apologize for the incorrect information I shared [here](https://github.com/apache/arrow/issues/46226#issuecomment-2829663700). To clarify, `ArrayStatistics::ValueType` is not required for variable assignment; it’s only needed for testing purposes. My confusion stemmed from the following code:
https://github.com/apache/arrow/blob/f25fab44a96f70728f4b4a4394542e6d8c19c654/cpp/src/arrow/record_batch_test.cc#L1601-L1603
However, the setters and getters I’ve implemented in this pull request make the API slightly simpler. If these changes don’t align with the project’s goals, I’m happy to drop them and focus on other statistics-related issues
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46226 :[C++][Statistics] Add Setter and Getter for ArrayStatistics [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46337:
URL: https://github.com/apache/arrow/pull/46337#issuecomment-2862358387
No problem.
It seems that these methods don't help us so much but we need to maintain these methods. Let's not add them. Can we close this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46226 :[C++][Statistics] Add Setter and Getter for ArrayStatistics [arrow]
Posted by "andishgar (via GitHub)" <gi...@apache.org>.
andishgar closed pull request #46337: GH-46226 :[C++][Statistics] Add Setter and Getter for ArrayStatistics
URL: https://github.com/apache/arrow/pull/46337
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46226 :[C++][Statistics] Add Setter and Getter for ArrayStatistics [arrow]
Posted by "andishgar (via GitHub)" <gi...@apache.org>.
andishgar commented on PR #46337:
URL: https://github.com/apache/arrow/pull/46337#issuecomment-2862404070
> No problem.
>
> It seems that these methods don't help us so much but we need to maintain these methods. Let's not add them. Can we close this?
thanks you for your answer . It's okay , I close it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-46226 :[C++][Statistics] Add Setter, Getter and ArrayStatisticsValue alias for ArrayStatistics [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46337:
URL: https://github.com/apache/arrow/pull/46337#issuecomment-2855159054
:warning: GitHub issue #46226 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org