[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-19 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r472827547 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -492,6 +486,81 @@ TYPED_TEST(TestBinaryArithmeticFloating, Add) {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471379295 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -492,6 +486,81 @@ TYPED_TEST(TestBinaryArithmeticFloating, Add) {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471348958 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -492,6 +486,81 @@ TYPED_TEST(TestBinaryArithmeticFloating, Add) {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471348419 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -492,6 +486,81 @@ TYPED_TEST(TestBinaryArithmeticFloating, Add) {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471347282 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic_test.cc ## @@ -139,13 +139,7 @@ class TestBinaryArithmetic : public TestBase {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471346573 ## File path: cpp/src/arrow/compute/api_scalar.h ## @@ -129,6 +129,20 @@ Result Multiply(const Datum& left, const Datum& right,

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471346362 ## File path: docs/source/cpp/compute.rst ## @@ -197,6 +197,10 @@ an ``Invalid`` :class:`Status` when overflow is detected.

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471346229 ## File path: cpp/src/arrow/compute/api_scalar.h ## @@ -129,6 +129,20 @@ Result Multiply(const Datum& left, const Datum& right,

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471346102 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -186,6 +187,42 @@ struct MultiplyChecked { } }; +struct Divide { + template

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471345721 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -186,6 +187,42 @@ struct MultiplyChecked { } }; +struct Divide { + template

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471345890 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -186,6 +187,42 @@ struct MultiplyChecked { } }; +struct Divide { + template

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-08-17 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r471343433 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -186,6 +187,42 @@ struct MultiplyChecked { } }; +struct Divide { + template

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-07-15 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454959287 ## File path: cpp/src/arrow/compute/kernels/scalar_cast_test.cc ## @@ -169,7 +169,6 @@ class TestCast : public TestBase {

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-07-15 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454957895 ## File path: cpp/src/arrow/compute/kernels/codegen_internal.h ## @@ -675,11 +704,80 @@ struct ScalarBinary { } }; +// An alternative to

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-07-15 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454958337 ## File path: cpp/src/arrow/compute/kernels/scalar_arithmetic.cc ## @@ -219,48 +219,77 @@ struct MultiplyChecked { } }; +struct Divide { +

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-07-15 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454956210 ## File path: cpp/src/arrow/compute/api_scalar.h ## @@ -130,6 +130,19 @@ Result Multiply(const Datum& left, const Datum& right,

[GitHub] [arrow] liyafan82 commented on a change in pull request #7748: ARROW-9388: [C++] Division kernels

2020-07-15 Thread GitBox
liyafan82 commented on a change in pull request #7748: URL: https://github.com/apache/arrow/pull/7748#discussion_r454955654 ## File path: cpp/src/arrow/compute/api_scalar.h ## @@ -130,6 +130,19 @@ Result Multiply(const Datum& left, const Datum& right,