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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8e3a1e1b7c MINOR: [C++] Replaced uint32_t with uint64_t in 
BackpressureOptions constructor (#14578)
8e3a1e1b7c is described below

commit 8e3a1e1b7c17213eb8b79fba49c496de6199fd50
Author: Vibhatha Lakmal Abeykoon <[email protected]>
AuthorDate: Fri Nov 4 00:41:17 2022 +0530

    MINOR: [C++] Replaced uint32_t with uint64_t in BackpressureOptions 
constructor (#14578)
    
    In the `BackpressureOptions` constructor the arguments are in `uint32_t` 
format, but the member variables are in `uint64_t`. Fixing it in this PR.
    
    Authored-by: Vibhatha Lakmal Abeykoon <[email protected]>
    Signed-off-by: Weston Pace <[email protected]>
---
 cpp/src/arrow/compute/exec/options.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/compute/exec/options.h 
b/cpp/src/arrow/compute/exec/options.h
index 68178ea9f2..9ed360c835 100644
--- a/cpp/src/arrow/compute/exec/options.h
+++ b/cpp/src/arrow/compute/exec/options.h
@@ -143,7 +143,7 @@ struct ARROW_EXPORT BackpressureOptions {
   ///                        queue has fewer than resume_if_below items.
   /// \param pause_if_above The producer should pause producing if the 
backpressure
   ///                       queue has more than pause_if_above items
-  BackpressureOptions(uint32_t resume_if_below, uint32_t pause_if_above)
+  BackpressureOptions(uint64_t resume_if_below, uint64_t pause_if_above)
       : resume_if_below(resume_if_below), pause_if_above(pause_if_above) {}
 
   static BackpressureOptions DefaultBackpressure() {

Reply via email to