From 5e5fb07c7c92ef83e1f8eba9cf9e0e6ca9e12db6 Mon Sep 17 00:00:00 2001 From: Arash Andishgar <42874930+arashandishgar@users.noreply.github.com> Date: Fri, 21 Feb 2025 04:18:08 +0330 Subject: [PATCH] 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 Signed-off-by: Sutou Kouhei --- 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 06cb621e984fa..2b9fe0bda890a 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