You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2025/05/13 10:47:56 UTC

(arrow) branch main updated: GH-46424: [C++][Parquet] Fix erroneous unit test skip (#46425)

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

apitrou 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 c8fec38609 GH-46424: [C++][Parquet] Fix erroneous unit test skip (#46425)
c8fec38609 is described below

commit c8fec3860922dd7d208f341824c318c23e0e822d
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Tue May 13 12:47:49 2025 +0200

    GH-46424: [C++][Parquet] Fix erroneous unit test skip (#46425)
    
    ### Rationale for this change
    
    Some unit tests check `ARROW_WITH_SNAPPY` as they require Snappy compression, but they didn't include the right header for this macro.
    
    ### Are these changes tested?
    
    By definition yes.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #46424
    
    Authored-by: Antoine Pitrou <an...@python.org>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 cpp/src/parquet/statistics_test.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/src/parquet/statistics_test.cc b/cpp/src/parquet/statistics_test.cc
index 35d19d5b31..2389e4a777 100644
--- a/cpp/src/parquet/statistics_test.cc
+++ b/cpp/src/parquet/statistics_test.cc
@@ -34,6 +34,7 @@
 #include "arrow/type_traits.h"
 #include "arrow/util/bit_util.h"
 #include "arrow/util/bitmap_ops.h"
+#include "arrow/util/config.h"
 #include "arrow/util/float16.h"
 #include "arrow/util/logging_internal.h"
 #include "arrow/util/ubsan.h"