[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][Compute] Add unary absolute value kernel

2021-05-13 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r632247362 ## File path: cpp/src/arrow/util/int_util_internal.h ## @@ -63,9 +63,9 @@ OPS_WITH_OVERFLOW(DivideWithOverflow, div) #undef OP_WITH_OVERFLOW #undef

[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][Compute] Add unary absolute value kernel

2021-05-12 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r631529736 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -79,22 +79,20 @@ struct AbsoluteValue { template static constexpr

[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][Compute] Add unary absolute value kernel

2021-05-12 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r631452874 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -1057,5 +1058,109 @@ TYPED_TEST(TestUnaryArithmeticFloating, Negate) { }

[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][Compute] Add unary absolute value kernel

2021-05-12 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r631425707 ## File path: cpp/src/arrow/compute/api_scalar.h ## @@ -160,6 +160,18 @@ struct ARROW_EXPORT ProjectOptions : public FunctionOptions { /// @} +///

[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][Compute] Add unary absolute value kernel

2021-05-11 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r630707124 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -1057,5 +1058,109 @@ TYPED_TEST(TestUnaryArithmeticFloating, Negate) { }

[GitHub] [arrow] edponce commented on a change in pull request #10274: ARROW-12685: [C++][compute] add unary absolute value kernel

2021-05-11 Thread GitBox
edponce commented on a change in pull request #10274: URL: https://github.com/apache/arrow/pull/10274#discussion_r630698902 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -66,6 +66,50 @@ constexpr Unsigned to_unsigned(T signed_) { return