This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5e5fb07c7c GH-45587: [C++][Docs] Fix the statistics schema link in 
`arrow::RecordBatch::MakeStatisticsArray()`'s docstring (#45588)
5e5fb07c7c is described below

commit 5e5fb07c7c92ef83e1f8eba9cf9e0e6ca9e12db6
Author: Arash Andishgar <[email protected]>
AuthorDate: Fri Feb 21 04:18:08 2025 +0330

    GH-45587: [C++][Docs] Fix the statistics schema link in 
`arrow::RecordBatch::MakeStatisticsArray()`'s docstring (#45588)
    
    ### Rationale for this change
    
    `arrow::RecordBatch::MakeStatisticsArray()`'s docstring uses 
https://arrow.apache.org/docs/format/CDataInterfaceStatistics.html not 
https://arrow.apache.org/docs/format/StatisticsSchema.html for statistics 
schema URL.
    
    Because https://github.com/apache/arrow/pull/44252 assumed that we use 
https://github.com/apache/arrow/pull/43553 but we use 
https://github.com/apache/arrow/pull/45058 finally.
    
    ### What changes are included in this PR?
    
    Fix URL.
    
    ### Are these changes tested?
    It does not need since just a correction in document
    
    ### Are there any user-facing changes?
    No, Just a correction in document
    * GitHub Issue: #45587
    
    Authored-by: arash andishgar <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/src/arrow/record_batch.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/record_batch.h b/cpp/src/arrow/record_batch.h
index 06cb621e98..2b9fe0bda8 100644
--- a/cpp/src/arrow/record_batch.h
+++ b/cpp/src/arrow/record_batch.h
@@ -286,7 +286,7 @@ class ARROW_EXPORT RecordBatch {
   ///
   /// The created array follows the C data interface statistics
   /// specification. See
-  /// https://arrow.apache.org/docs/format/CDataInterfaceStatistics.html
+  /// https://arrow.apache.org/docs/format/StatisticsSchema.html
   /// for details.
   ///
   /// \param[in] pool the memory pool to allocate memory from

Reply via email to