You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2026/07/02 09:52:54 UTC

(arrow) branch main updated: GH-50330: [C++][R][Parquet] Add missing typename in RleBitPackedDecoderGetRunDecode (#50332)

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

raulcd 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 0f6dd60cff GH-50330: [C++][R][Parquet] Add missing typename in RleBitPackedDecoderGetRunDecode (#50332)
0f6dd60cff is described below

commit 0f6dd60cffce04f448c45314a790788ec624d1a8
Author: Antoine Prouvost <An...@users.noreply.github.com>
AuthorDate: Thu Jul 2 11:52:47 2026 +0200

    GH-50330: [C++][R][Parquet] Add missing typename in RleBitPackedDecoderGetRunDecode (#50332)
    
    ### Rationale for this change
    Fix compiler error.
    
    ### What changes are included in this PR?
    Missing typename keyword.
    
    ### Are these changes tested?
    In CI.
    
    ### Are there any user-facing changes?
    No.
    
    * GitHub Issue: #50330
    
    Authored-by: AntoinePrv <An...@users.noreply.github.com>
    Signed-off-by: Raúl Cumplido <ra...@gmail.com>
---
 cpp/src/arrow/util/rle_encoding_internal.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/cpp/src/arrow/util/rle_encoding_internal.h b/cpp/src/arrow/util/rle_encoding_internal.h
index 825cd253df..5dc94f368d 100644
--- a/cpp/src/arrow/util/rle_encoding_internal.h
+++ b/cpp/src/arrow/util/rle_encoding_internal.h
@@ -811,7 +811,8 @@ auto RleBitPackedDecoder<T>::GetBatch(value_type* out,
   }
 
   parser_.ParseWithCallable([&](auto run) {
-    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
+    using RunDecoder =
+        typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
 
     ARROW_DCHECK_LT(values_read, batch_size);
     RunDecoder decoder(run, value_bit_width_);
@@ -1124,7 +1125,8 @@ auto RleBitPackedDecoder<T>::GetSpaced(Converter converter,
   }
 
   parser_.ParseWithCallable([&](auto run) {
-    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
+    using RunDecoder =
+        typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
 
     RunDecoder decoder(run, value_bit_width_);
 
@@ -1306,7 +1308,8 @@ auto RleBitPackedDecoder<T>::GetBatchWithDict(const V* dictionary,
   }
 
   parser_.ParseWithCallable([&](auto run) {
-    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
+    using RunDecoder =
+        typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
 
     RunDecoder decoder(run, value_bit_width_);