This is an automated email from the ASF dual-hosted git repository.
ravindra 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 486b97b ARROW-5944: [C++][Gandiva] Remove 'div' alias for 'divide'
486b97b is described below
commit 486b97bd49c92b36fa9012fcc9578bf84eb50c4f
Author: Prudhvi Porandla <[email protected]>
AuthorDate: Sun Jul 14 11:39:34 2019 +0530
ARROW-5944: [C++][Gandiva] Remove 'div' alias for 'divide'
Author: Prudhvi Porandla <[email protected]>
Closes #4876 from pprudhvi/rm-div-alias and squashes the following commits:
404663b18 <Prudhvi Porandla> remove div alias for all datatypes
d51e351ec <Prudhvi Porandla> remove div alias
---
cpp/src/gandiva/function_registry_arithmetic.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/src/gandiva/function_registry_arithmetic.cc
b/cpp/src/gandiva/function_registry_arithmetic.cc
index 8cbfdaf..6a74a19 100644
--- a/cpp/src/gandiva/function_registry_arithmetic.cc
+++ b/cpp/src/gandiva/function_registry_arithmetic.cc
@@ -59,13 +59,13 @@ std::vector<NativeFunction> GetArithmeticFunctionRegistry()
{
// add/sub/multiply/divide/mod
BINARY_SYMMETRIC_FN(add, {}), BINARY_SYMMETRIC_FN(subtract, {}),
BINARY_SYMMETRIC_FN(multiply, {}),
- NUMERIC_TYPES(BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL, divide, {"div"}),
+ NUMERIC_TYPES(BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL, divide, {}),
BINARY_GENERIC_SAFE_NULL_IF_NULL(mod, {"modulo"}, int64, int32, int32),
BINARY_GENERIC_SAFE_NULL_IF_NULL(mod, {"modulo"}, int64, int64, int64),
BINARY_SYMMETRIC_SAFE_NULL_IF_NULL(add, {}, decimal128),
BINARY_SYMMETRIC_SAFE_NULL_IF_NULL(subtract, {}, decimal128),
BINARY_SYMMETRIC_SAFE_NULL_IF_NULL(multiply, {}, decimal128),
- BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL(divide, {"div"}, decimal128),
+ BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL(divide, {}, decimal128),
BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL(mod, {"modulo"}, decimal128),
BINARY_SYMMETRIC_UNSAFE_NULL_IF_NULL(mod, {"modulo"}, float64),